MissingPredicate
class MissingPredicate(cause: Throwable?, contexts: Array<ExecutionContext>, val signature: Signature) : Warning
A Warning reported when a goal invokes signature and no such predicate exists, but the unknown Prolog flag (see it.unibo.tuprolog.solve.flags.Unknown) is set to warn rather than raise an it.unibo.tuprolog.solve.exception.error.ExistenceError or fail silently.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Creates a new exception instance with the context with in position index updated to newContext. Subclasses should override this method and return the correct instance.
Link copied to clipboard