9 lines
346 B
JavaScript
9 lines
346 B
JavaScript
import { ProviderError } from "./ProviderError";
|
|
export class TokenProviderError extends ProviderError {
|
|
constructor(message, tryNextLink = true) {
|
|
super(message, tryNextLink);
|
|
this.tryNextLink = tryNextLink;
|
|
this.name = "TokenProviderError";
|
|
Object.setPrototypeOf(this, TokenProviderError.prototype);
|
|
}
|
|
}
|