()
| 51 | |
| 52 | export class InternalError extends Response { |
| 53 | constructor() { |
| 54 | const jsonBody = JSON.stringify({ |
| 55 | errors: [ |
| 56 | { |
| 57 | code: "INTERNAL_ERROR", |
| 58 | message: "internal error", |
| 59 | detail: null, |
| 60 | }, |
| 61 | ], |
| 62 | }); |
| 63 | const init = { |
| 64 | status: 500, |
| 65 | headers: { |
| 66 | "content-type": "application/json;charset=UTF-8", |
| 67 | }, |
| 68 | }; |
| 69 | super(jsonBody, init); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | export class ManifestError extends Response { |
nothing calls this directly
no outgoing calls
no test coverage detected