__construct() __construct(string $message,string $name = '',string $type = '',string $expected_type = '') Construct Parameters string $message The exception message string $name The item name. string $type The paramater type / class. string $expected_type The expected parameter type / class.
render() render() Display the error as necessary, depending on the origin of request (CLI, web browser, AJAX, etc.)