Liking cljdoc? Tell your friends :D

fif.stack-machine.error-handling

Functions for handling errors within the fif stackmachine.

Functions for handling errors within the fif stackmachine.
raw docstring

default-stack-error-handlerclj/s

(default-stack-error-handler sm err)
source

default-system-error-handlerclj/s

(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:

  • System error is re-thrown if the stackmachine is not in debug-mode.
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.
sourceraw docstring

error-object?clj/s

(error-object? obj)
source

error-symbolclj/s

source

handle-stack-errorclj/s

(handle-stack-error sm err)
source

handle-system-errorclj/s

(handle-system-error sm ex)
source

new-error-objectclj/s

(new-error-object msg)
(new-error-object msg extra)

Creates a new error object

Creates a new error object
sourceraw docstring

set-errorclj/s

(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.
sourceraw docstring

stack-errorclj/s

(stack-error sm msg)
(stack-error sm msg extra)

Creates an error object for stack errors.

Creates an error object for stack errors.
sourceraw docstring

stack-error-object?clj/s

(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
sourceraw docstring

system-errorclj/s

(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.
sourceraw docstring

system-error-object?clj/s

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close