pub fn fail() -> PrologResult<()>
Return a failure.
This is a shorthand for Err(PrologError::Failure).
Err(PrologError::Failure)