some-command || fail "message"
some-command || softfail "message" || return $?
[1]: https://github.com/runag/runag/blob/main/lib/fail.sh
[1]: https://github.com/runag/runag/blob/main/lib/fail.sh