Error-Context

(error-context error) -> list

Returns a list of expressions that lead to the error.

Example:

>> (define e (guard identity-method (error 'foo "This is the information field f

or this error.")))

:: #f
>> (error-context e)
:: (([program]) ([closure]) ([program]) ([prim] foo "This is the information fie

ld for this error."))

>>