TouchPointWP_Exception
extends Exception
in package
An Exception class.
Table of Contents
Properties
- $_debugMode : bool|null
Methods
- __construct() : mixed
- Create an exception, and log it where it can be reported to the TouchPoint-WP Developers.
- debugLog() : void
- toJson() : string
- Get this in a JSON-compatible format
Properties
$_debugMode
public
static bool|null
$_debugMode
= null
Methods
__construct()
Create an exception, and log it where it can be reported to the TouchPoint-WP Developers.
public
__construct([string $message = "" ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ""
- $code : int = 0
- $previous : Throwable|null = null
debugLog()
public
static debugLog( $code, $file, $line, $message) : void
Parameters
toJson()
Get this in a JSON-compatible format
public
toJson() : string