(statusCode: number, message: string)
| 11 | */ |
| 12 | statusCode: number; |
| 13 | constructor(statusCode: number, message: string) { |
| 14 | super(message); |
| 15 | this.statusCode = statusCode; |
| 16 | Error.captureStackTrace(this, this.constructor); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | export default ApiError; |
nothing calls this directly
no outgoing calls
no test coverage detected