io.github.jahrim.chess.authentication.service.components.exceptions.UserNotFoundException.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authentication-service Show documentation
Show all versions of authentication-service Show documentation
A service which handles registration and authentication in an application.
package io.github.jahrim.chess.authentication.service.components.exceptions
/**
* An [[AuthenticationServiceException]] triggered when a user is queried
* but not found.
*
* @param username the name of the user.
*/
class UserNotFoundException(username: String)
extends AuthenticationServiceException(s"User '$username' not found.")
© 2015 - 2024 Weber Informatics LLC | Privacy Policy