<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBErrorRecordResult",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBErrorRecordResult"
  },
  "title" : "CKDBErrorRecordResult"
}
-->

# CKDBErrorRecordResult

An object that represents a record lookup failure.

```
dictionary CKDBErrorRecordResult {
	string type;
	string? recordName;
	string errorCode;
	string message;
};
```

## Overview

The server returns a CKDBErrorRecordResult object when looking up a record fails as part of a batch record lookup operation.

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBErrorRecordResult } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute string errorCode;`](/documentation/CKToolJS/CKDBErrorRecordResult/errorCode)

A string containing the code for the error that occurred.

[`attribute string message;`](/documentation/CKToolJS/CKDBErrorRecordResult/message)

A string that indicates the reason for the error.

[`attribute string? recordName;`](/documentation/CKToolJS/CKDBErrorRecordResult/recordName)

The name of the record.

[`attribute string type;`](/documentation/CKToolJS/CKDBErrorRecordResult/type)

The type of the record result.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)