On this page:
exn:  fail:  xiden
exn:  fail:  user:  xiden

20 Exceptions

 (require xiden/exn) package: xiden

xiden/exn defines exceptions for control in subprograms that are not message-oriented. It also provides procedures for constructing and raising exceptions. These procedures are not documented because they are private, and simple enough to be self-evident for maintainers.


(struct exn:fail:xiden exn:fail ())


(struct exn:fail:user:xiden exn:fail:user ())

Project-specific exception types.

For some instance E of these exception types, it may be the case that (equal? (exn-message E) ""). This is because some exceptions are meant for end-user display, and they should first be converted to messages for use with (get-message-formatter).