Error-Info

(error-info error) -> list

Returns the error information field for the given error. If none, returns null.

Example:

>> (define (identity-method x) x)
:: #f
>> (define e (guard identity-method (error 'foo "This is the information field.")))
:: #f
>> (error-info e)
:: ("This is the information field.")