Skip to content

Commit

Permalink
feat: add global error handler (open-telemetry#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwear authored and dyladan committed Feb 18, 2021
1 parent ea5615f commit 3d18b42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/common/Exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
*/

interface ExceptionWithCode {
code: string;
code: string | number;
name?: string;
message?: string;
stack?: string;
}

interface ExceptionWithMessage {
code?: string;
code?: string | number;
message: string;
name?: string;
stack?: string;
}

interface ExceptionWithName {
code?: string;
code?: string | number;
message?: string;
name: string;
stack?: string;
Expand Down

0 comments on commit 3d18b42

Please sign in to comment.