Skip to main content

Type Alias: ObjectResponseError

type 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;
}
NameType
code"notExists"
object_idstring
{
code: "dynamicFieldNotFound";
parent_object_id: string;
}
NameType
code"dynamicFieldNotFound"
parent_object_idstring
{
code: "deleted";
digest: string;
object_id: string;
version: string;
}
NameTypeDescription
code"deleted"-
digeststringBase64 string representing the object digest
object_idstring-
versionstringObject version.
{
code: "unknown";
}
NameType
code"unknown"
{
code: "display";
error: string;
}
NameType
code"display"
errorstring