Use ServiceIssue instead.

interface CbhIssue {
    cause?: Error;
    id?: string;
    message: string;
    statusCode?: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500;
}

Properties

cause?: Error
id?: string
message: string
statusCode?: 400 | 401 | 403 | 404 | 409 | 422 | 429 | 500