<?php

namespace App\Modules\WebContactMessage\Domain;

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

class WebContactMessageSameConnected extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['WEB_CONTACT_MESSAGE']['WEB_CONTACT_MESSAGE_CONNECT']['WEB_CONTACT_MESSAGE_NOT_CONNECT'],
            'El mensaje de contacto que se conectará no puede ser el mismo'
        );
    }
}
