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

io.udash.auth.exceptions.scala Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
package io.udash.auth

import com.avsystem.commons.serialization.HasGenCodec

case class UnauthenticatedException() extends RuntimeException(s"User has to be authenticated to access this content.")
object UnauthenticatedException extends HasGenCodec[UnauthenticatedException]

case class UnauthorizedException() extends RuntimeException(s"Provided user context does not have access to this content.")
object UnauthorizedException extends HasGenCodec[UnauthorizedException]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy