| 95 | } |
| 96 | |
| 97 | export class ServerError extends Response { |
| 98 | constructor(message: string, errorCode = 500) { |
| 99 | super(JSON.stringify({ errors: [{ code: "SERVER_ERROR", message, detail: null }] }), { |
| 100 | status: errorCode, |
nothing calls this directly
no outgoing calls
no test coverage detected