Laragear/Rut

View on GitHub
src/Exceptions/InvalidRutException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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);
    }
}