<?php

namespace App\Modules\Passenger\Domain;

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

class PassengerNotExists extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['PAX_INFORMATION_ROOM_DETAIL']['PAX_INFORMATION_ROOM_DETAIL_EXISTS']['PAX_INFORMATION_ROOM_DETAIL_NOT_EXISTS'],
            'Pasajero de habitación no existe'
        );
    }
}
