"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Is404 = exports.Is400 = void 0;
const Is400 = (error) => {
    var _a;
    return ((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) == 400;
};
exports.Is400 = Is400;
const Is404 = (error) => {
    var _a;
    return ((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) == 404;
};
exports.Is404 = Is404;
//# sourceMappingURL=error.js.map