drf-paginator
Version:
Module for consuming paginated Django REST framework endpoints.
18 lines (13 loc) • 407 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PaginatorError = PaginatorError;
function PaginatorError(message) {
this.name = 'PaginatorError';
this.message = message || '';
this.stack = new Error().stack;
}
PaginatorError.prototype = Object.create(Error.prototype);
PaginatorError.prototype.constructor = PaginatorError;
exports.default = PaginatorError;