All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.jahrim.chess.authentication.service.components.exceptions.UsernameAlreadyTakenException.scala Maven / Gradle / Ivy

There is a newer version: 0.4.3
Show newest version
package io.github.jahrim.chess.authentication.service.components.exceptions

/**
 * An [[AuthenticationServiceException]] triggered when a user attempts to
 * sign in to the service with a username that is already taken.
 *
 * @param username the name of the user.
 */
class UsernameAlreadyTakenException(username: String)
    extends AuthenticationServiceException(s"User '$username' already taken.")




© 2015 - 2024 Weber Informatics LLC | Privacy Policy