kunzite (kunzite1) wrote in suggestions,
kunzite
kunzite1
suggestions

Add die() function to S2

Title
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.

An ordered list of benefits
  • 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.
Tags: s2, § rejected
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 7 comments