class Athena::Security::Exception::UserNotFound
inherits Athena::Security::Exception::Authentication
#
Raised when no user exists for a given identifier.
Constructors#
.new(message : String | Nil = nil, cause : ::Exception | Nil = nil, *, user_identifier : String | Nil = nil)#
Methods#
#message_data : Hash(String, String)#
Returns the data to interpolate into the #message_key.
#message_key : String#
Returns a message describing why the user could not be authenticated, which is safe to show to users.
#user_identifier : String | ::Nil#
The identifier of the user that could not be found, e.g. a username or email address.
#user_identifier=(user_identifier : String | Nil)#
The identifier of the user that could not be found, e.g. a username or email address.