astro-ghostcms/.pnpm-store/v3/files/56/0f11f36cd947d3965a8a10f0c9b...

19 lines
655 B
Plaintext

// Type definitions for cacheable-request 6.0
// Project: https://github.com/lukechilds/cacheable-request#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Paul Melnikow <https://github.com/paulmelnikow>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
export class RequestError extends Error {
constructor(error) {
super(error.message);
Object.assign(this, error);
}
}
export class CacheError extends Error {
constructor(error) {
super(error.message);
Object.assign(this, error);
}
}
//# sourceMappingURL=types.js.map