krapio
Library referenceClasses

KrunkerOAuthError

a redirect back that carried error instead of code, or whose state is not the one that was sent

Extends

Constructors

Constructor

new KrunkerOAuthError(error, description?): KrunkerOAuthError;

Parameters

ParameterType
error| OAuthCallbackError | "state_mismatch"
description?string

Returns

KrunkerOAuthError

Overrides

KrunkerError.constructor

Properties

PropertyModifierTypeDescriptionInherited from
cause?publicunknown-KrunkerError.cause
errorreadonly| OAuthCallbackError | "state_mismatch"access_denied when the player declined, state_mismatch when the state is not yours-
messagepublicstring-KrunkerError.message
namepublicstring-KrunkerError.name
stack?publicstring-KrunkerError.stack

On this page