<?php
namespace IntellexApps\PHP\UploadFile\Domain\Exception\Permission;

use IntellexApps\PHP\UploadFile\Domain\Exception\UploadFileException;

class InvalidPermissionException extends UploadFileException
{
    /**
     * Construct default message
     *
     * InvalidPermissionException constructor.
     * @param string $permission
     */
    public function __construct($permission)
    {
        parent::__construct(__('Permission %s is not valid!', $permission));
    }
}
