readable-http-codes
Version:
0 dependency readable HTTP code enums, cleaning up your codebase!
23 lines (22 loc) • 961 B
JavaScript
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import * as clientErrorCodes from './clientError';
import * as informationCodes from './information';
import * as redirectionCodes from './redirection';
import * as serverErrorCodes from './serverError';
import * as successfulCodes from './successful';
export * from './clientError';
export * from './information';
export * from './redirection';
export * from './serverError';
export * from './successful';
export var allStatusCodes = __assign(__assign(__assign(__assign(__assign({}, clientErrorCodes), informationCodes), redirectionCodes), serverErrorCodes), successfulCodes);