-
Notifications
You must be signed in to change notification settings - Fork 2
tp TouchPointWP TouchPointWP_Exception
James K. edited this page Apr 7, 2025
·
3 revisions
An Exception class.
- Class name: TouchPointWP_Exception
- Namespace: \tp\TouchPointWP
- Parent class: Exception
public mixed _debugMode = null
- Visibility: public
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
- message string* code int* previous ?\Throwable
- mixed
void tp\TouchPointWP\TouchPointWP_Exception::debugLog(mixed code, mixed file, mixed line, mixed message)
- Visibility: public
- This method is static.
- code mixed* file mixed* line mixed* message mixed
string tp\TouchPointWP\TouchPointWP_Exception::toJson()
Get this in a JSON-compatible format
- Visibility: public
- string -
\WP_Error tp\TouchPointWP\TouchPointWP_Exception::toWpError()
Convert this exception to a WP_Error object that can be passed through the WordPress API.
- Visibility: public
- \WP_Error -
Documentation generated November 19, 2025 1:15am.
- Simple RSVP
- People Lists
- Involvements
- Outreach Partners
- SQL & Python Reports
- Events Calendar from Meetings (Beta)
- Events Calendar Plugin Integration (Deprecated)
- tp
- tp\TouchPointWP
- Api
- Auth
- tp\TouchPointWP\Blocks
- CalendarGrid
- EventsCalendar
- ExtraValueHandler
- Geo
- tp\TouchPointWP\Interfaces
- Involvement
- Involvement_PostTypeSettings
- InvolvementMembership
- Location
- Meeting
- MeetingArray
- Partner
- Person
- PostTypeCapable
- RegistrationType
- Report
- Rsvp
- Settings
- Stats
- StatusWidget
- Taxonomies
- TouchPointWP
- TouchPointWP_AdminAPI
- TouchPointWP_Exception
- TouchPointWP_WPError
- Utilities
- tp\TouchPointWP