Function swipl::result::fail

source ·
pub fn fail() -> PrologResult<()>
Expand description

Return a failure.

This is a shorthand for Err(PrologError::Failure).