The
abort_if
function throws an HTTP exception if a given boolean expression evaluates to true
: