Go to the first, previous, next, last section, table of contents.
Author(s): Göran Smedbäck.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.9#179 (2003/12/4, 19:25:17 CET)
This file implements error predicates of different types.
- Library usage:
:- use_module(library(error)).
- Exports:
- Predicates:
error_vrml/1
,
output_error/1
.
- Other modules used:
- System library modules:
write
.
- PREDICATE: error_vrml/1:
-
Usage: error_vrml(Structure)
- Description: Given a structure with the error type as its head with possible arguments, it will write the associated error-text.
- Call and exit should be compatible with:
Structure
is any term.
(basic_props:term/1
)
- The following properties should hold at call time:
Structure
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
- PREDICATE: output_error/1:
-
Usage: output_error(Message)
- Description: This predicate will print the error message given as the argument. This predicate is used for warnings that only needs to be given as information and not necessarily give an error by the VRML browser.
- Call and exit should be compatible with:
Message
is a list of atm
s.
(basic_props:list/2
)
- The following properties should hold at call time:
Message
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Go to the first, previous, next, last section, table of contents.