The
abort_unless
function throws an HTTP exception if a given boolean expression evaluates to false
: