<?php

declare(strict_types=1);

namespace Anthropic\Messages\WebSearchToolRequestError;

use Anthropic\Core\Concerns\SdkEnum;
use Anthropic\Core\Conversion\Contracts\ConverterSource;

final class ErrorCode implements ConverterSource
{
    use SdkEnum;

    public const INVALID_TOOL_INPUT = 'invalid_tool_input';

    public const UNAVAILABLE = 'unavailable';

    public const MAX_USES_EXCEEDED = 'max_uses_exceeded';

    public const TOO_MANY_REQUESTS = 'too_many_requests';

    public const QUERY_TOO_LONG = 'query_too_long';
}
