Within a bash
script, how can one signal to the (bash-script-calling human) user that a premature-exit error was triggered, with some sort of custom message?
I want to send an unmistakable failure message like
! ** !
Oops, something went wrong.
This script did NOT successfully finish.
! ** !
so that the user understands the script did not finish successfully. (Sometimes this point is not clear and the user mistakenly assumes the script finished successfully.)