Next: ref-iou-sfh-sem, Previous: ref-iou-sfh-sob, Up: ref-iou-sfh [Contents][Index]
All predicates that take a stream argument will raise the following exceptions:
instantiation_error
Stream argument is not ground
type_error
Stream is not an input (or output) stream type.
existence_error
Stream is syntactically valid but does not name an open stream.
permission_error
Stream names an open stream but the stream is not open for the required operation, or has reached the end of stream on input, or is binary when text is required, or vice versa, or there was an error in the bottom layer of write function of the stream.
system_error
Some operating system dependent error occurred during I/O.
The reference page for each stream predicate will simply refer to these as “Stream errors” and will go on to detail other exceptions that may be raised for a particular predicate.