<?php
namespace Transbank\Webpay\Exceptions;
/**
 * class TransbankException
 *
 *   basic class for Transbank related exceptions
 *
 * @package Transbank
 *
 *
 */

 class TransbankException extends \Exception {

    const DEFAULT_MESSAGE = 'An error has happened, verify given parameters and try again.';

    public function __construc($message = self::DEFAULT_MESSAGE, $code = 0, $previous = null)
    {
        parent::_construct($message, $code, $previous);
    }

 }
