\MainWP\DashboardMainWP_Exception

Class MainWP_Exception

Summary

Methods
Properties
Constants
__construct()
get_message_extra()
set_data()
get_data()
No public properties found
No constants found
No protected methods found
$messageExtra
$data
N/A
No private methods found
No private properties found
N/A

Properties

$messageExtra

$messageExtra : string

Protected variable to hold the extra messages.

Type

string — Error messages.

$data

$data : array

Protected variable to hold the extra data.

Type

array — data.

Methods

__construct()

__construct(mixed  $message, null  $extra = null) 

MainWP_Exception constructor.

Grab Exception Message upon creation of the object.

Parameters

mixed $message

Exception message.

null $extra

Any HTTP Errors.

get_message_extra()

get_message_extra() : \MainWP\Dashboard\$messageExtra

Method get_message_extra()

Returns

\MainWP\Dashboard\$messageExtra —

Extra messages.

set_data()

set_data(mixed  $data) 

Method set_data()

Parameters

mixed $data

Addition data.

get_data()

get_data() : \MainWP\Dashboard\$data

Method get_data()

Returns

\MainWP\Dashboard\$data —

Addition data.