unknown/2 [development]unknown(-OldAction, +NewAction)
Unifies OldAction with the current action on unknown procedures, and then sets the current action to NewAction.
[error,fail,trace,warning]
[error,fail,trace,warning], must be nonvar
This action determines what happens when an undefined predicate is
called, and user:unknown_predicate_handler/3 does not handle
the goal, by accessing the unknown Prolog flag:
tracefailwarningerror| ?- unknown(Action, Action).
just returns Action without changing it.
Procedures that are known to be dynamic just fail when there are no clauses for them.
instantiation_errortype_errordomain_errorUndefined Predicates, ref-ere.