{"version":3,"file":"provider-timeout-error.mjs","names":[],"sources":["../../../../../../../ai/src/errors/provider-timeout-error.ts"],"sourcesContent":["import type { AIErrorOptions } from \"./ai-error\";\nimport type { ErrorCategory } from \"./error-category.type\";\nimport { ProviderError } from \"./provider-error\";\n\n/**\n * Provider call timed out — either at the transport layer (socket\n * connection) or on the server side (request exceeded the provider's\n * processing deadline). Idempotent retries are usually safe.\n *\n * @example\n * if (result.error instanceof ProviderTimeoutError) {\n *   return retry();\n * }\n */\nexport class ProviderTimeoutError extends ProviderError {\n  public static readonly defaultCategory: ErrorCategory = \"timeout\";\n\n  public constructor(message: string, options?: AIErrorOptions) {\n    super(message, options, \"PROVIDER_TIMEOUT\");\n    this.name = \"ProviderTimeoutError\";\n  }\n}\n"],"mappings":";;;;;;;;;;;;;AAcA,IAAa,uBAAb,cAA0C,cAAc;;yBACE;;CAExD,AAAO,YAAY,SAAiB,SAA0B;EAC5D,MAAM,SAAS,SAAS,kBAAkB;EAC1C,KAAK,OAAO;CACd;AACF"}