__construct() __construct(string $message,string $service = '',string $method = '') Construct Parameters string $message The exception message string $service The service alias being accessed. string $method The method alias being accessed.
render() render() Display the error as necessary, depending on the origin of request (CLI, web browser, AJAX, etc.)