@plust/datasleuth
Version:
Build LLM-powered research pipelines and output structured data.
9 lines (8 loc) • 965 B
TypeScript
/**
* Comprehensive list of error codes used throughout the @plust/datasleuth package
*/
export type ErrorCode = 'configuration_error' | 'invalid_options' | 'missing_required_option' | 'invalid_provider' | 'validation_error' | 'schema_validation_error' | 'invalid_output_format' | 'network_error' | 'request_timeout' | 'connection_error' | 'api_error' | 'rate_limited' | 'authentication_error' | 'quota_exceeded' | 'llm_error' | 'prompt_too_large' | 'context_limit_exceeded' | 'content_policy_violation' | 'search_error' | 'no_results_found' | 'invalid_search_query' | 'extraction_error' | 'selector_not_found' | 'invalid_content_format' | 'processing_error' | 'timeout_error' | 'max_iterations_error' | 'pipeline_error' | 'step_execution_error' | 'parallel_execution_error' | 'step_timeout' | 'unknown_error' | 'not_implemented';
/**
* Maps error codes to human-readable descriptions
*/
export declare const ERROR_CODE_DESCRIPTIONS: Record<ErrorCode, string>;