(
status: TStatus,
error: TError,
message: string | undefined,
headers: THeaders,
)
| 17 | readonly error: TError; |
| 18 | |
| 19 | constructor( |
| 20 | status: TStatus, |
| 21 | error: TError, |
| 22 | message: string | undefined, |
| 23 | headers: THeaders, |
| 24 | ) { |
| 25 | super(`${APIError.makeMessage(status, error, message)}`); |
| 26 | this.status = status; |
| 27 | this.headers = headers; |
| 28 | this.error = error; |
| 29 | } |
| 30 | |
| 31 | private static makeMessage( |
| 32 | status: number | undefined, |
nothing calls this directly
no test coverage detected