hal-ts
Version:
Package to format api responses into hal format
22 lines • 742 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidPage = exports.InvalidChunkSize = exports.PageNotFoundError = void 0;
class PageNotFoundError extends Error {
constructor() {
super("The page you are trying to obtain does not exists");
}
}
exports.PageNotFoundError = PageNotFoundError;
class InvalidChunkSize extends Error {
constructor() {
super("Cannot create chunk of data with the given value");
}
}
exports.InvalidChunkSize = InvalidChunkSize;
class InvalidPage extends Error {
constructor() {
super("Cannot create chunk of data with the given value");
}
}
exports.InvalidPage = InvalidPage;
//# sourceMappingURL=error.js.map