Last active
September 14, 2020 11:07
-
-
Save kingsley-einstein/b5c9d35356c96794477dadcefbfe3d21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export class ErrorResponse extends Error { | |
c: number; | |
constructor(c: number, message: string) { | |
super(message); | |
this.c = c; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment