Skip to content

Chapter 15: Error type should be 'CallbackRouteError' #734

@shubham-j-sde

Description

@shubham-j-sde

if (error instanceof AuthError) {

  1. CredentialsSignin is not an Instance of AuthError
  2. In case of uncaught erros by signIn CallbackRouteError, also as it mentions, one can affirm with stackTrace at [auth][cause]
  3. I have been following this course checked by logging error, the code string is"credentials" for the [cause] and not for the original error, and error.type : 'CallbackRouteError'

Though, even after reading CredentialsSignin docs I am not quite sure how/ where to capture this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions