<?php

declare(strict_types=1);

namespace ApiModel\Shared\Exceptions;

final class UnauthorizedException extends ApiException
{
    /** @param array<string, mixed>|null $details */
    public function __construct(string $message = 'No autorizado', ?array $details = null)
    {
        parent::__construct($message, 401, 'UNAUTHORIZED', $details);
    }
}
