- :logical
panic
exit program with error message
Parameters
panic message :string
Attributes
code | :integer | return given exit code |
unstyled | don't use default error template |
Returns
Examples
copypanic.code:1 "something went terribly wrong. quitting..." ; quits with the given code and ; prints a properly format error with the given message
copypanic.unstyled "oops! that was wrong" ; quits with the default exit code (= 0) and ; just outputs a simple - unformatted - message