Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove IErrorSettings. GlobalErrorHandlerMiddleware return a j…
…son error object BREAKING CHANGES: - If your override GlobalErrorHandlerMiddleware, this change will broke probably your code. - The response returned is a JSON object instead of raw string. this is a breaking change for your consumers. - settings.errors.headerName have been removed. There is no replacement. Just implement your own GlobalErrorHandlerMiddleware to change return the expect response to your client.
- Loading branch information
Romain Lenzotti
committed
Jul 1, 2020
1 parent
9978b75
commit f0d9d46
Showing
15 changed files
with
228 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from "./interfaces/IServerMountDirectories"; | ||
export * from "./interfaces/ILoggerSettings"; | ||
export * from "./interfaces/IErrorSettings"; | ||
export * from "./services/PlatformConfiguration"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.