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;
}
| Name | Type |
|---|---|
code | "notExists" |
object_id | string |
{
code: "dynamicFieldNotFound";
parent_object_id: string;
}
| Name | Type |
|---|---|
code | "dynamicFieldNotFound" |
parent_object_id | string |
{
code: "deleted";
digest: string;
object_id: string;
version: string;
}
| Name | Type | Description |
|---|---|---|
code | "deleted" | - |
digest | string | Base64 string representing the object digest |
object_id | string | - |
version | string | Object version. |
{
code: "unknown";
}
| Name | Type |
|---|---|
code | "unknown" |
{
code: "display";
error: string;
}
| Name | Type |
|---|---|
code | "display" |
error | string |