std-cerror, std-error


Synopsis

(std-cerror <msg>) ; continuable error

(std-error <msg>) ; exit with error

Description

STD-CERROR tries to perform as the Common Lisp equivalent CERROR. It forces STD-BREAK independent of the state of *BREAK*. It prints some kind of special error message and lets the user try to fix the error with the debugger.

STD-ERROR exits the program flow immediatly by printing the error message and a call to (EXIT).

Examples

(std-cerror (list "hmm..., pointlist looks strange - " pointlist))

(std-error "sorry, pointlist is completely wrong, cannot continue")

Arguments

msg: any valid lisp expression. Most likely a list of to be printed expressions.

Return Value

Not defined. Most likely NIL

Side Effects

This is a typical function only used for its side effect.

Module

(std-require 'STDLISP)

Defined in STDLISP