<?php

namespace Velis;

use Throwable;

/**
 * @author Jan Małysiak <jan.malysiak@velis.pl>
 */
class DuplicateRequestException extends Exception
{
    public function __construct($message = "", $code = 0, Throwable $previous = null)
    {
        $message = $message ?: Lang::get('FILE_DUPLICATE');

        parent::__construct($message, $code, $previous);
    }
}
