(
error: Error,
status: ContentfulStatusCode,
timestamp: string,
)
| 285 | } |
| 286 | |
| 287 | function createInternalErrorResponse( |
| 288 | error: Error, |
| 289 | status: ContentfulStatusCode, |
| 290 | timestamp: string, |
| 291 | ): ErrorResponse { |
| 292 | return createErrorResponse(error, status, timestamp, { |
| 293 | name: error.name, |
| 294 | }); |
| 295 | } |
| 296 | |
| 297 | function createUpstreamErrorResponse( |
| 298 | error: UpstreamError, |
no test coverage detected