UNPKG

react-oauth2-code-pkce

Version:

Provider agnostic react package for OAuth2 Authorization Code flow with PKCE

13 lines (12 loc) 353 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FetchError = void 0; class FetchError extends Error { constructor(status, statusText, message) { super(message); this.name = 'FetchError'; this.status = status; this.statusText = statusText; } } exports.FetchError = FetchError;