<?php

namespace App\Modules\CommercialInvoice\Domain;

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

class CommercialInvoiceNotExists extends BasicRequestException
{
    public function __construct()
    {
        parent::__construct(
            400,
            ErrorDictionary::ERRORS['OWNER']['COMMERCIAL_INVOICE']['COMMERCIAL_INVOICE_EXISTS']['COMMERCIAL_INVOICE_NOT_EXISTS'],
            'Factura comercial no existe'
        );
    }
}
