EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /errors /empty-response-body-error.ts
EdgeAIG's picture
download
raw
522 Bytes
import { AISDKError } from './ai-sdk-error';
const name = 'AI_EmptyResponseBodyError';
const marker = `vercel.ai.error.${name}`;
const symbol = Symbol.for(marker);
export class EmptyResponseBodyError extends AISDKError {
private readonly [symbol] = true; // used in isInstance
constructor({ message = 'Empty response body' }: { message?: string } = {}) {
super({ name, message });
}
static isInstance(error: unknown): error is EmptyResponseBodyError {
return AISDKError.hasMarker(error, marker);
}
}

Xet Storage Details

Size:
522 Bytes
·
Xet hash:
e5e5690acbf44a02bbb1ab852876348d2b277166cec1743070ea82214c40ce71

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.