\MainWP\DashboardMainWP_Error_Helper

Class MainWP Error Helper

Summary

Methods
Properties
Constants
get_error_message()
get_console_error_message()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_error_message()

get_error_message(object  $pException) : string

Method get_error_message()

Check for http error and or "nomainwp" error.

Parameters

object $pException

Exception object.

Returns

string —

$error Error message.

get_console_error_message()

get_console_error_message(mixed  $pException) : string

Method get_console_error_message()

Check for http error and or "nomainwp" and or "WPERROR".

Parameters

mixed $pException

The exception.

Returns

string —

@error Error message.