Error?

(error? argument) -> boolean\

Returns true if the argument is an error, otherwise false.

Example:

>> (define e (guard identity-method (error 'foo "This is the information field for this error.")))
:: #f
>> e
:: [error]
>> (error? e)
:: #t