src/Exceptions/InvalidRutException.php
<?php
namespace Laragear\Rut\Exceptions;
use LogicException;
use Throwable;
class InvalidRutException extends LogicException implements RutException
{
/**
* Construct the exception.
*
* @param string $message
* @param int $code
* @param null|Throwable $previous
* @return void
*/
public function __construct(
string $message = 'The given RUT is invalid.',
int $code = 0,
Throwable $previous = null
) {
parent::__construct($message, $code, $previous);
}
}