Price Spectre
1.0
|
Price Spectre provides two ways of receiving output from custom algorithms.
The javascript throw syntax is supported. This immediately terminates the script with the specified error message. Use this on conditions that are unrecoverable.
The PS class has a public function PS::debugMessage() that is similar to throw but does not immediately terminate the script. Each call to PS::debugMessage() appends the new message to the previous ones. This is useful in cases where control flow is being observed or where multiple different bugs or errors must be tracked.