the try to wrap
Return the value on the right, or halt with the message on the left and an error code of 500 Internal Server Error
Return the value on the right, or halt with the message on the left and an error code of 500 Internal Server Error
an optional function that can manipulate the left message
the value on the right, or a failed Try with the left message and a 500 error
Return the value on the right, or halt
Return the value on the right, or halt
the response code to return on left
an optional function that can manipulate the left message
the value on the right, or a failed Try with the left message
Return the value on the right, or throw a HaltException containing the message on the left with an error code of 500 Internal Server Error
Return the value on the right, or throw a HaltException containing the message on the left with an error code of 500 Internal Server Error
an optional function that can manipulate the left message
the value on the right
HaltException
containing the message on the left and a 500 error, if Left
Return the value on the right, or throw a HaltException containing the message on the left
Return the value on the right, or throw a HaltException containing the message on the left
the response code to return on left
an optional function that can manipulate the left message
the value on the right
HaltException
containing the message on the left, if Left
Implicit wrapper to allow scala.util.Try values to halt or throw. Handled internally as a right-biased
scala.util.Either
with a Throwable left.the success type of the try