Prolog Error
fun PrologError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, type: Struct, extraData: Term? = null)
Content copied to clipboard
fun PrologError(cause: Throwable?, context: ExecutionContext, type: Struct, extraData: Term? = null)
Content copied to clipboard
fun PrologError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, type: Struct, extraData: Term? = null)
Content copied to clipboard
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
type
The error type structure
extraData
The possible extra data to be carried with the error