LiveMountFailure
object LiveMountFailureConstructors for connected mount failures.
Defined by scalive.LiveMountFailure. View source (scalive/api/src/scalive/LiveMountAspect.scala:47-82)
Methods4
redirect
def redirect(to: LiveLocation): LiveMountFailureRedirects connected mount to a typed Live route location.
Defined by scalive.LiveMountFailure.redirect. View source (scalive/api/src/scalive/LiveMountAspect.scala:49-50)
redirectUnsafe
def redirectUnsafe(to: zio.http.URL): LiveMountFailureRedirects connected mount to an unchecked URL.
This is an escape hatch for destinations that cannot be represented by LiveLocation. It does not validate origin or locality and can create an open redirect when given untrusted input.
Defined by scalive.LiveMountFailure.redirectUnsafe. View source (scalive/api/src/scalive/LiveMountAspect.scala:58-59)
stale
def stale(reason: String): LiveMountFailureRejects connected mount as stale and logs reason server-side.
The reason is not included in the socket reply.
Defined by scalive.LiveMountFailure.stale. View source (scalive/api/src/scalive/LiveMountAspect.scala:80-81)
def stale: LiveMountFailureRejects connected mount as stale without logging an application reason.
Defined by scalive.LiveMountFailure.stale. View source (scalive/api/src/scalive/LiveMountAspect.scala:73-74)
unauthorized
def unauthorized(reason: String): LiveMountFailureRejects connected mount as unauthorized and logs reason server-side.
The reason is not included in the socket reply.
Defined by scalive.LiveMountFailure.unauthorized. View source (scalive/api/src/scalive/LiveMountAspect.scala:69-70)
def unauthorized: LiveMountFailureRejects connected mount as unauthorized without logging an application reason.
Defined by scalive.LiveMountFailure.unauthorized. View source (scalive/api/src/scalive/LiveMountAspect.scala:62-63)