namespace Fuel\Core;
class HttpApiErrorException extends \HttpException
{
public function response()
{
return new \Response(\View::forge('500'), 500);
}
}
'HttpApiErrorException' => APPPATH.'classes/httpexceptions.php',
$route = array_key_exists('_api_error_', Router::$routes) ? Router::$routes['_api_error_']->translation : Config::get('routes._api_error_');
throw new HttpApiErrorException;
class HttpApiErrorException extends \Fuel\Core\HttpException
catch (HttpApiErrorException $e)
It looks like you're new here. If you want to get involved, click one of these buttons!