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
| Parameter | Type |
|---|---|
error | | OAuthCallbackError | "state_mismatch" |
description? | string |
Returns
KrunkerOAuthError
Overrides
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
cause? | public | unknown | - | KrunkerError.cause |
error | readonly | | OAuthCallbackError | "state_mismatch" | access_denied when the player declined, state_mismatch when the state is not yours | - |
message | public | string | - | KrunkerError.message |
name | public | string | - | KrunkerError.name |
stack? | public | string | - | KrunkerError.stack |