AssetBlobNotFoundError
Defined in: packages/sdk/src/errors.ts:140
资产 Blob 未找到(资产存在但底层 Blob 数据缺失)。
与 AssetExportError 的区别:AssetExportError 表示“导出过程失败”(格式不支持 /
编码错误),本错误表示“Blob 根本不存在”(如 OPFS/IDB 数据丢失)。消费方可用
instanceof AssetBlobNotFoundError 区分两种场景,前者可重试,后者需重新导入。
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AssetBlobNotFoundError(
message,cause?):AssetBlobNotFoundError
Defined in: packages/sdk/src/errors.ts:141
Parameters
Section titled “Parameters”message
Section titled “message”string
cause?
Section titled “cause?”unknown
Returns
Section titled “Returns”AssetBlobNotFoundError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlycode:LokvisErrorCode
Defined in: packages/sdk/src/errors.ts:108
Inherited from
Section titled “Inherited from”context?
Section titled “context?”
readonlyoptionalcontext?:Readonly<Record<string,unknown>>
Defined in: packages/sdk/src/errors.ts:109