Usage: |
die |
Example: |
die "We had an error and had to stop... " |
Stops the script on the current line with an error. You can specify an error in between quotes "". Aditionally to this an error code will be added to the end.
die "Oh uh! Seems we had an error \n"