throwError

Is used within a monadic computation to begin exception processing.
Is used within a monadic computation to begin exception processing.
Normally, any exceptions raised while executing a method will be given the generic "org.freedesktop.DBus.Error.Failed" name. throwError allows the programmer to specify an error name, and provide additional information to the remote application. You may use this instead of throwIO to abort a method call.
Throw an error of type e with show as a display function.
Throw an error of type e with show as a display function.
Throw an error of type e with show as a display function.
Throw an error, escaping the current computation up to the nearest catchError (if any).
runThrow (throwError e >>= k) = runThrow (throwError e)
Throw an exception in an effectful computation. The type is inferred.
Throws an error carrying information of type e :: *.
Begin error processing for the error of type option. This is Control.Monad.Except's throwError with the type adjusted for better compatibility with CoHas.
Throws a StatusCodeException wrapped in HttpExceptionRequest, if the response's status code indicates an error (if it isn't 2xx). This can be used to implement checkResponse.
Throw an error of type e and specify a display function in case a third-party code catches the internal exception and shows it.
Throw an error of type e with no display function.
Throw an error of type e and specify a display function in case a third-party code catches the internal exception and shows it.
Throw an error of type e with no display function.
Throw an error of type e and specify a display function in case a third-party code catches the internal exception and shows it.
Throw an error of type e with no display function.
Converts a Lua error at the top of the stack into a Haskell exception and throws it.
Throw an exception in an effectful computation. The type is unit, which suppresses the ghc-mod warning "A do-notation statement discarded a result of type"