Functions for handling errors within the fif stackmachine.
Functions for handling errors within the fif stackmachine.
(default-system-error-handler sm ex)
The default error handler for system errors that the fif stackmachine experiences.
Keyword Arguments:
sm - The Stackmachine instance at the time of the system error
ex - An exception object
Notes:
The default error handler for system errors that the fif stackmachine experiences. Keyword Arguments: sm - The Stackmachine instance at the time of the system error ex - An exception object Notes: - System error is re-thrown if the stackmachine is not in debug-mode.
(new-error-object msg)
(new-error-object msg extra)
Creates a new error object
Creates a new error object
(set-error sm errobj)
Resets the stack, and places the given error object on the stack.
Resets the stack, and places the given error object on the stack.
(stack-error sm msg)
(stack-error sm msg extra)
Creates an error object for stack errors.
Creates an error object for stack errors.
(stack-error-object? obj)
Returns true if the given object is a stack error object
Returns true if the given object is a stack error object
(system-error sm ex msg)
(system-error sm ex msg extra)
Creates an error object for system errors.
Creates an error object for system errors.
(system-error-object? obj)
Returns true if the given object is a system error object
Returns true if the given object is a system error object
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close