InvalidUserOrPasswordException class

Thrown when login fails due to invalid credentials.

This exception is raised when either the username does not exist or the provided password does not match the stored hash.

Inheritance
Annotations
  • @immutable

Constructors

InvalidUserOrPasswordException(String message, {Object? cause, StackTrace? stackTrace})
Creates a new InvalidUserOrPasswordException.
const

Properties

cause → Object?
The underlying cause of this exception, if any.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
A human-readable description of the error.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The stack trace at the point where the exception was thrown.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited