Icicle\Http\Exception\MessageException::__construct PHP Method

__construct() public method

public __construct ( $code, $message, Exception $previous = null )
$previous Exception
    public function __construct($code, $message, \Exception $previous = null)
    {
        if ($code < 400 || $code > 599) {
            throw new InvalidArgumentError('Invalid response code.');
        }
        parent::__construct($message, $code, $previous);
    }