- Class name: Exception
- Namespace: JSMF
- Parent class: Exception
const USER_EXCEPTION = 1337
mixed JSMF\Exception::__toString()
- Visibility: public
Array JSMF\Exception::getAdditionalData()
returns additional exception data if set
- Visibility: public
\Exception JSMF\Exception::__construct(String|null $message, Int $code, \JSMF\Exception|null $previous, Array $additionalData)
constructs exception
- Visibility: public
- $message String|null
- $code Int
- $previous JSMF\Exception|null
- $additionalData Array - <p>(append additional data to the exceptoni (makes sense on json response))</p>
Boolean JSMF\Exception::isBad()
returns if this is a "bad" exception where the developers should be informed about
- Visibility: public