Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

360 B
Raw Blame
<?php

namespace HiEvents\Exceptions;

use Throwable;

class AccessRestrictedException extends CodedAccessException
{
    public const ERROR_CODE = 'ACCESS_RESTRICTED';

    public function __construct(?string $message = null, ?Throwable $previous = null)
    {
        parent::__construct($message ?? __("You don't have access to this."), $previous);
    }
}