ErrorCall

This is thrown when the user calls error. The String is the argument given to error. Historically, there was a second String for the location, but it was subsumed by the backtrace mechanisms (since base-4.22).
This is thrown when the user calls error. The first String is the argument given to error, second String is the location.
This is thrown when the user calls error. The first String is the argument given to error, second String is the location.
Deprecated: ErrorCallWithLocation has been deprecated in favour of ErrorCall (which does not have a location). Backtraces are now handled by the backtrace exception mechanisms exclusively.
The error code and also a human-readable error message.
Add a callback for errors.

Examples

Basic usage:
'setCallback' ('errorCallback' myErrorCallback)

myErrorCallback :: 'KafkaError' -> String -> IO ()
myErrorCallback kafkaError message = print $ show kafkaError <> "|" <> message
An orphan Eq instance for ErrorCall
This is thrown when the user calls error.
Retrieve the argument given to error. ErrorCall is isomorphic to a String.
>>> catching _ErrorCall (error "touch down!") return
"touch down!"
_ErrorCall :: Prism' ErrorCall     String
_ErrorCall :: Prism' SomeException String
Can (and probably should) be used before GLFW initialization. See glfwSetErrorCallback
Signals that a parsing error occurred. The expected error values are in the [errorgtk.CssParserError] and CssParserWarning enumerations. The path, line and position describe the actual location of the error as accurately as possible. Parsing errors are never fatal, so the parsing will resume after the error. Errors may however cause parts of the given data or even all of it to not be parsed at all. So it is a useful idea to check that the parsing succeeds by connecting to this signal. Errors in the CssParserWarning enumeration should not be treated as fatal errors. Note that this signal may be emitted at any time as the css provider may opt to defer parsing parts or all of the input to a later time than when a loading function was called.