<?php

namespace App\Modules\HtlCampBooking\Domain;

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

class HtlCampBookingDuplicated extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            406,
            ErrorDictionary::ERRORS['INTERNAL']['HTL_CAMP_BOOKING']['HTL_CAMP_BOOKING_DUPLICATE']['HTL_CAMP_BOOKING_DUPLICATE'],
            'Reserva de campamento ya existe'
        );
    }
}
