master

laravel/framework

Last updated at: 29/12/2023 09:25

UnauthorizedException.php

TLDR

This file defines the UnauthorizedException class in the Illuminate\Validation namespace.

Classes

UnauthorizedException

The UnauthorizedException class extends the RuntimeException class and is used to throw an exception when an unauthorized action is detected in the validation process.

<?php

namespace Illuminate\Validation;

use RuntimeException;

class UnauthorizedException extends RuntimeException
{
    //
}