ExLisp. Condition
(exlisp v0.1.2)
Copy Markdown
Common Lisp Condition and Restart system for ExLisp. Supports:
- define-condition, make-condition
- signal, warn, error, cerror
- handler-bind, handler-case, ignore-errors
- restart-bind, restart-case, invoke-restart, find-restart, compute-restarts
- standard restarts: abort, continue, muffle-warning, store-value, use-value
Summary
Functions
Signals a continuable error with a continue restart.
Returns a list of all active restarts.
Registers a user-defined condition.
Signals a fatal error. If unhandled, invokes debugger or raises.
Finds an active restart by name.
Invokes a restart by name or restart object with optional arguments.
Creates a condition instance.
Returns the name of a restart object.
Executes body_fun with handlers registered. Clauses: [{type, fn cond -> ... end}] no_error_clause: nil or fn result -> ... end
Executes body_fun with restarts registered. Clauses: [%{name: name, fun: (...args -> result), report: report_fun, test: test_fun}]
Signals a condition. Searches active handlers in order.
Issues a warning. Signals condition, prints to stderr if unhandled, and offers muffle-warning.
Functions
Signals a continuable error with a continue restart.
Returns a list of all active restarts.
Registers a user-defined condition.
Signals a fatal error. If unhandled, invokes debugger or raises.
Finds an active restart by name.
Invokes a restart by name or restart object with optional arguments.
Creates a condition instance.
Returns the name of a restart object.
Executes body_fun with handlers registered. Clauses: [{type, fn cond -> ... end}] no_error_clause: nil or fn result -> ... end
Executes body_fun with restarts registered. Clauses: [%{name: name, fun: (...args -> result), report: report_fun, test: test_fun}]
Signals a condition. Searches active handlers in order.
Issues a warning. Signals condition, prints to stderr if unhandled, and offers muffle-warning.