EscolaLMS/Auth

View on GitHub
src/Exceptions/UserNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace EscolaLms\Auth\Exceptions;

use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException;
use Throwable;

class UserNotFoundException extends UnprocessableEntityHttpException
{
    public function __construct($message = "User Not Found", $code = 422, ?Throwable $previous = null)
    {
        parent::__construct($message, $previous, $code);
    }
}