PHP Class Carbon_Fields\Exception\Incorrect_Syntax_Exception

Inheritance: extends Exception
Show file Open project: htmlburger/carbon-fields Class Usage Examples

Public Properties

Property Type Description
$errors
$throw_errors

Public Methods

Method Description
print_errors ( )
raise ( $message, $code = null ) Throw an exception when WP_DEBUG is enabled, and show a friendly admin notice otherwise

Method Details

print_errors() public static method

public static print_errors ( )

raise() public static method

Throw an exception when WP_DEBUG is enabled, and show a friendly admin notice otherwise
public static raise ( $message, $code = null )

Property Details

$errors public static property

public static $errors

$throw_errors public static property

public static $throw_errors