<?php

declare(strict_types=1);

namespace ApiModel\Shared\Exceptions;

final class BadRequestException extends ApiException
{
    /** @param array<string, mixed>|null $details */
    public function __construct(string $message = 'Solicitud inválida', ?array $details = null)
    {
        parent::__construct($message, 400, 'BAD_REQUEST', $details);
    }
}
