OnError
Function type for handling a coding error. It is supplied with two inputs:
* A String that describes the error.
* The input value that caused the error. If the error arose because the end of input was reached or could not be identified precisely, this value will be Nothing.
If the handler returns a value wrapped with Just, that value will be used in the output as the replacement for the invalid input. If it returns Nothing, no value will be used in the output.
Should the handler need to abort processing, it should use error or throw an exception (preferably a UnicodeException). It may use the description provided to construct a more helpful error report.
Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
I/O error
I/O error
An error indicating that an IO operation failed because the user does not have sufficient operating system privilege to perform that operation.
I/O error sufficient operating system privilege to perform that operation.
I/O error sufficient operating system privilege to perform that operation.
An attempt was made to evaluate a field of a record for which no value was given at construction time. The String argument gives the location of the record construction in the source program.
An uninitialised record field was used. The String gives information about the source location constructed.