UNPKG

http-repository-cache

Version:

A library for making HTTP requests using the repository pattern with an built in caching system.

14 lines (13 loc) 434 B
declare enum DefaultHttpExceptionType { UNAUTHORIZED = "UNAUTHORIZED", FORBIDDEN = "FORBIDDEN", PAYMENT_REQUIRED = "PAYMENT_REQUIRED", NOT_FOUND = "NOT_FOUND", BAD_REQUEST = "BAD_REQUEST", CONFLICT = "CONFLICT", ABORT_REQUEST = "ABORT_REQUEST", SERVER_ERROR = "SERVER_ERROR", SERVER_UNAVAILABLE = "SERVER_UNAVAILABLE", UNKNOWN_ERROR = "UNKNOWN_ERROR" } export default DefaultHttpExceptionType;