<?php

namespace App\Modules\DefinedService\Route\Domain;

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

class RouteNotExists extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['ROUTE']['ROUTE_EXISTS']['ROUTE_NOT_EXISTS'],
            'Ruta no existe'
        );
    }
}
