@wristband/nextjs-auth
Version:
SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.
13 lines (12 loc) • 338 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.FetchError = void 0;
class FetchError extends Error {
constructor(response, body) {
super('Fetch Error');
this.name = 'FetchError';
this.response = response;
this.body = body;
}
}
exports.FetchError = FetchError;
;