package eu.ztsh.wymiana.exception; import eu.ztsh.wymiana.web.model.UserCreateRequest; public class UserAlreadyExistsException extends RuntimeException { public UserAlreadyExistsException(UserCreateRequest entity) { super("User with PESEL %s already exists".formatted(entity.pesel())); } }