Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Mar 28, 2024
1 parent f4dd6d4 commit 27c7003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proposals/SDKs-for-V4/error-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- **level:** Semantically defined [levels](#levels)
- **id:** A field crafted for unique identification in web searches.
For more, see [Senzing Component IDs](https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md).
- **text:** The error message generated by the SDK (not the Senzing error message).
- **description:** The error message generated by the SDK (not the Senzing error message).
It includes information on where it was called, not just what the error was.
- **duration:** (Optional) The time taken, in nanoseconds, by the call to the SDK function/method.
- **location:** The caller's location, not the location in the SDK
Expand All @@ -30,7 +30,7 @@
"time": "2024-02-06T17:02:34.076962445Z",
"level": "ERROR",
"id": "senzing-60044037",
"text": "g2engine.GetEntityByRecordId(DoesntExist, 1070, -1) failed. Reason: DataSource not found",
"description": "g2engine.GetEntityByRecordId(DoesntExist, 1070, -1) failed. Reason: DataSource not found",
"duration": 199045,
"location": "In MySampleGetEntityFunction() at mysample.go:2129",
"errors": [
Expand Down

0 comments on commit 27c7003

Please sign in to comment.