@dotcms/client
Version:
Official JavaScript library for interacting with DotCMS REST APIs.
13 lines (12 loc) • 587 B
TypeScript
/**
* A record of HTTP status codes and their corresponding error messages.
*
* @type {Record<number, string>}
* @property {string} 401 - Unauthorized. Check the token and try again.
* @property {string} 403 - Forbidden. Check the permissions and try again.
* @property {string} 404 - Not Found. Check the URL and try again.
* @property {string} 500 - Internal Server Error. Try again later.
* @property {string} 502 - Bad Gateway. Try again later.
* @property {string} 503 - Service Unavailable. Try again later.
*/
export declare const ErrorMessages: Record<number, string>;