<?php

declare(strict_types=1);

namespace NoahVet\Reef\Exception;

class InvalidResourceSlugException extends IAMException
{
    protected string $slug;

    public function __construct(string $slug)
    {
        parent::__construct('Invalide Resource Slug');
        $this->slug = $slug;
    }

    public function getSlug(): string
    {
        return $this->slug;
    }
}
