Closed s-webber closed 1 year ago
Add throw/1 built-in predicate. Throws an exception with the given argument as the exception message.
throw/1
Example:
?- throw(error(invalid_type, X)). Error: error(invalid_type, X)
Add
throw/1
built-in predicate. Throws an exception with the given argument as the exception message.Example: