Files
archived-next-auth/www/docs/errors.md
Nico Domino c0ccbc9274 WIP: Console Errors with URLs (#222)
* test: override console.error

* update: clean up test URL + test docs

* refactor console.error override into own iife

* update: import override into client + typeorm

* chore: organise errors.md page

* fix: lowercase errorCode required for hash

* update: refactor error fn into own fn instead of (ab)using console.error itself

* add: bold docs msg in console

* update: err function rename + prepare docs URL for prod
2020-06-08 17:57:03 +02:00

1.3 KiB

id, title
id title
errors Errors

TypeORM

ADAPTER_CONNECTION_ERROR

CREATE_USER_ERROR

GET_USER_BY_ID_ERROR

GET_USER_BY_EMAIL_ERROR

GET_USER_BY_PROVIDER_ACCOUNT_ID_ERROR

CREATE_SESSION_ERROR

GET_SESSION_ERROR

UPDATE_SESSION_ERROR

DELETE_SESSION_ERROR

CREATE_VERIFICATION_REQUEST_ERROR

GET_VERIFICATION_REQUEST_ERROR

DELETE_VERIFICATION_REQUEST_ERROR

Client

CLIENT_USE_SESSION_ERROR

CLIENT_FETCH_ERROR

Providers

SEND_VERIFICATION_EMAIL_ERROR

Server

DB_OR_ADAPTER_REQUIRED

You must include an adapter or database in your /pages/api/auth/[...nextauth].js config.

See adapter or database for more information.

0Auth

GET_OAUTH2_ACCESS_TOKEN_ERROR

GET_OAUTH_ACCESS_TOKEN_ERROR

GET_OAUTH_PROFILE_ERROR

PARSE_OAUTH_PROFILE_ERROR

_GET_OATUH_ACCESS_TOKEN_ERROR

Signin

GET_AUTHORISATION_URL_ERROR

Routes

OAUTH_CALLBACK_ERROR

OAUTH_CALLBACK_HANDLER_ERROR

EMAIL_CALLBACK_ERROR

JWT_SESSION_ERROR

SESSION_ERROR

OAUTH_SIGNIN_ERROR

EMAIL_SIGNIN_ERROR

SIGNOUT_ERROR