Type alias ApiErrorResponse

ApiErrorResponse: {
    status: number;
} & ApiError

Type representing the error data sent to clients when retrieving an API error.

It simply adds the HTTP status code in a status key to the regular CubicWeb api error, so users can handle HTTP status codes in their code.

Type declaration

  • status: number

Generated using TypeDoc