Add die() function to S2
Short, concise description of the idea
Add a function that allows a layer to kill S2 and print out an optional string.
Full description of the idea
Make a global function die(string) that will halt S2 and print out an optional string, just like the die() function in PHP and Perl.
- Increased debugging for layers.
- Increased error handling for layers.
An ordered list of problems/issues involved
- Can't think of any.
An organized list, or a few short paragraphs detailing suggestions for implementation
- Add the function to core.s2 and some backend items.