Trap

(trap stmts) -> <error>

Given a list of statements, trap will enact a guard and return an <error>.

>> (trap (non-existent-function))
:: [error vm "global not bound" non-existent-function]

See Also: guard, <error>