<?php

namespace App\Modules\DefinedService\Location\Domain;

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

class LocationNotExists extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['LOCATION']['LOCATION_EXISTS']['LOCATION_NOT_EXISTS'],
            'Ubicación no existe'
        );
    }
}
