Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
save_bvnghean.vn
/
wp-content
/
plugins
/
wordfence
/
vendor
/
maxmind
/
web-service-common
/
src
/
Exception
:
InvalidRequestException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace MaxMind\Exception; /** * Thrown when a MaxMind web service returns an error relating to the request. */ class InvalidRequestException extends HttpException { /** * The code returned by the MaxMind web service. */ private $error; /** * @param string $message the exception message * @param int $error the error code returned by the MaxMind web service * @param int $httpStatus the HTTP status code of the response * @param string $uri the URI queries * @param \Exception $previous the previous exception, if any */ public function __construct( $message, $error, $httpStatus, $uri, \Exception $previous = null ) { $this->error = $error; parent::__construct($message, $httpStatus, $uri, $previous); } public function getErrorCode() { return $this->error; } }