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 ⭐️

351 B
Raw Blame
<?php

namespace HiEvents\Exceptions;

use Throwable;

class ReadOnlyAccessException extends CodedAccessException
{
    public const ERROR_CODE = 'READ_ONLY_ROLE';

    public function __construct(?string $message = null, ?Throwable $previous = null)
    {
        parent::__construct($message ?? __('You have view-only access.'), $previous);
    }
}