Next: , Previous: , Up: parser-tools unix-pathnames   [Index]


54.1.2 Condition object types

The following bindings are exported by the library (vicare parser-tools unix-pathnames).

Parser errors

Condition Type: &unix-pathname-parser-error

Signals an error while parsing a Unix pathname representation; it is derived from &error.

Function: make-unix-pathname-parser-error

Build and return a new condition object of type &unix-pathname-parser-error.

Function: unix-pathname-parser-error? obj

Return #t if obj is a condition object of type &unix-pathname-parser-error; otherwise return #f.

Normalisation errors

Condition Type: &unix-pathname-normalisation-error

Signals an error while normalising a Unix pathname representation; it is derived from &error.

Function: make-unix-pathname-normalisation-error

Build and return a new condition object of type &unix-pathname-normalisation-error.

Function: unix-pathname-normalisation-error? obj

Return #t if obj is a condition object of type &unix-pathname-normalisation-error; otherwise return #f.

Raising exceptions

Function: raise-unix-pathname-parser-error who message irritant

Raise a non–continuable exception with compound condition object of types: &unix-pathname-parser-error, &who, &message, &irritants.

Function: raise-unix-pathname-normalisation-error who message irritant

Raise a non–continuable exception with compound condition object of types: &unix-pathname-normalisation-error, &who, &message, &irritants.