<?php

namespace App\Modules\GroupProvider\Domain;

use App\Modules\Shared\Domain\ErrorDictionary;
use App\Modules\Shared\Exceptions\BasicRequestException;

class GroupProviderFailOnChange extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['GROUP_PROVIDER']['GROUP_PROVIDER_CHANGE']['GROUP_PROVIDER_FAIL_ON_CHANGE'],
            'Estado de Proveedor de grupo no se puede cambiar'
        );
    }
}
