Skip to main content

HTTP error handling

Do use a generic error response model.

✅ Example
interface ErrorResponse {
code: string;
error: string;
message: string;
}

Do use an interceptor to catch and handle error responses.