Skip to main content

Type Alias: ObjectResponseError

ObjectResponseError = { code: "notExists"; object_id: string; } | { code: "dynamicFieldNotFound"; parent_object_id: string; } | { code: "deleted"; digest: string; object_id: string; version: string; } | { code: "unknown"; } | { code: "display"; error: string; }

Type Declaration

{ code: "notExists"; object_id: string; }

code

code: "notExists"

object_id

object_id: string

{ code: "dynamicFieldNotFound"; parent_object_id: string; }

code

code: "dynamicFieldNotFound"

parent_object_id

parent_object_id: string

{ code: "deleted"; digest: string; object_id: string; version: string; }

code

code: "deleted"

digest

digest: string

Base64 string representing the object digest

object_id

object_id: string

version

version: string

Object version.

{ code: "unknown"; }

code

code: "unknown"

{ code: "display"; error: string; }

code

code: "display"

error

error: string