tp TouchPointWP TouchPointWP_WPError - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\TouchPointWP_WPError
An Exception class.
- Class name: TouchPointWP_WPError
- Namespace: \tp\TouchPointWP
- Parent class: tp\TouchPointWP\TouchPointWP_Exception
Properties
_debugMode
public mixed _debugMode = null
- Visibility: public
Methods
__construct
mixed tp\TouchPointWP\TouchPointWP_Exception::__construct(string message, int code, ?\Throwable previous)
Create an exception, and log it where it can be reported to the TouchPoint-WP Developers.
- Visibility: public
- This method is defined by tp\TouchPointWP\TouchPointWP_Exception
Arguments
- message string* code int* previous ?\Throwable
Returns
- mixed
debugLog
void tp\TouchPointWP\TouchPointWP_Exception::debugLog(mixed code, mixed file, mixed line, mixed message)
- Visibility: public
- This method is static.
- This method is defined by tp\TouchPointWP\TouchPointWP_Exception
Arguments
- code mixed* file mixed* line mixed* message mixed
toJson
string tp\TouchPointWP\TouchPointWP_Exception::toJson()
Get this in a JSON-compatible format
- Visibility: public
- This method is defined by tp\TouchPointWP\TouchPointWP_Exception
Returns
- string -