AJenbo/agcms

View on GitHub
application/inc/Exceptions/InvalidInput.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace App\Exceptions;

use Throwable;

class InvalidInput extends Exception
{
    /**
     * Set up the exception.
     */
    public function __construct(string $message, int $code = 422, ?Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}