<?php

declare(strict_types=1);

namespace ApiModel\Shared\Exceptions;

final class UnprocessableEntityException extends ApiException
{
    /** @param array<string, mixed>|null $details */
    public function __construct(string $message = 'No se puede procesar la solicitud', ?array $details = null)
    {
        parent::__construct($message, 422, 'VALIDATION_ERROR', $details);
    }
}
