(status: ContentfulStatusCode, options?: UpstreamErrorOptions)
| 56 | public readonly errorCode?: string; |
| 57 | |
| 58 | constructor(status: ContentfulStatusCode, options?: UpstreamErrorOptions) { |
| 59 | super(status, options); |
| 60 | this.requestUrl = options?.requestUrl; |
| 61 | this.requestBody = options?.requestBody; |
| 62 | this.upstreamStatus = options?.upstreamStatus; |
| 63 | this.responseBody = options?.responseBody; |
| 64 | this.errorCode = options?.errorCode; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | export async function ensureUpstreamOk( |
nothing calls this directly
no outgoing calls
no test coverage detected