Debugging
Every method in the auth client exposes an error property.
error: {
code: string;
name: string;
message: string;
}
For common error codes, use AWS Cognito Api Reference to get the specific error using the error code.
Every method in the auth client exposes an error property.
error: {
code: string;
name: string;
message: string;
}
For common error codes, use AWS Cognito Api Reference to get the specific error using the error code.