Axios HTTP status
Code
AXIOS/HTTP<status>
Examples:
AXIOS/HTTP400AXIOS/HTTP401AXIOS/HTTP404
What it means
This pattern is used when an error originates from Axios and the most useful classification is the HTTP status.
How it’s generated
In code, prefer the helper:
import { AppErrorCodes } from '@aina/shared-common';
const code = AppErrorCodes.AXIOS.httpStatus(404); // "AXIOS/HTTP404"Last updated on