ignore-errors ( ... quot: ( ... -- ... ) -- ... )
Factor handbook » The language » Exception handling

Prev:recover ( ..a try: ( ..a -- ..b ) recovery: ( ..a error -- ..b ) -- ..b )
Next:ERROR:


Vocabulary
continuations

Inputs
quota quotation


Outputs
None

Word description
Calls the quotation. If an exception is thrown in the dynamic extent of the quotation, restores the data stack and returns.

Notes
For safer alternatives to this word see ignore-error and ignore-error/f.

Definition


: ignore-errors ( ... quot: ( ... -- ... ) -- ... )
[ drop ] recover ; inline