<?php

namespace Omnipay\Common\Exception;

/**
 * Invalid Response exception.
 *
 * Thrown when a gateway responded with invalid or unexpected data (for example, a security hash did not match).
 */
class InvalidResponseException extends \Exception implements OmnipayException {

    public function __construct($message = "Invalid response from payment gateway", $code = 0, $previous = null) {
        parent::__construct($message, $code, $previous);
    }

}
