| import { AISDKError } from './ai-sdk-error'; | |
| const name = 'AI_LoadAPIKeyError'; | |
| const marker = `vercel.ai.error.${name}`; | |
| const symbol = Symbol.for(marker); | |
| export class LoadAPIKeyError extends AISDKError { | |
| private readonly [symbol] = true; // used in isInstance | |
| constructor({ message }: { message: string }) { | |
| super({ name, message }); | |
| } | |
| static isInstance(error: unknown): error is LoadAPIKeyError { | |
| return AISDKError.hasMarker(error, marker); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 471 Bytes
- Xet hash:
- 337ce74147e4f9567e482076e27258253a4da2a94ea8e9e4764726de8d00e968
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.