izumi.idealingua.runtime.rpc.http4s.IRTHttpFailureException.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of idealingua-v1-runtime-rpc-http4s_2.13 Show documentation
Show all versions of idealingua-v1-runtime-rpc-http4s_2.13 Show documentation
idealingua-v1-runtime-rpc-http4s
The newest version!
package izumi.idealingua.runtime.rpc.http4s
import izumi.idealingua.runtime.rpc.IRTTransportException
import org.http4s.Status
abstract class IRTHttpFailureException(
message: String,
val status: Status,
cause: Option[Throwable] = None,
) extends IRTTransportException(message, cause)
case class IRTUnexpectedHttpStatus(override val status: Status) extends IRTHttpFailureException(s"Unexpected http status: $status", status)
case class IRTNoCredentialsException(override val status: Status) extends IRTHttpFailureException("No valid credentials", status)
case class IRTBadCredentialsException(override val status: Status) extends IRTHttpFailureException("No valid credentials", status)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy