(
message: string,
payload?: Record<string, unknown>,
options?: ErrorOptions
)
| 2 | public readonly payload?: Record<string, unknown>; |
| 3 | |
| 4 | constructor( |
| 5 | message: string, |
| 6 | payload?: Record<string, unknown>, |
| 7 | options?: ErrorOptions |
| 8 | ) { |
| 9 | super(message, options); |
| 10 | this.name = 'LogError'; |
| 11 | this.payload = payload; |
| 12 | |
| 13 | Object.setPrototypeOf(this, new.target.prototype); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | export class HttpError extends Error { |
nothing calls this directly
no outgoing calls
no test coverage detected