Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions docs/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,3 @@ Newer FSMB APIs implement the Problem Details pattern for errors.
```

If the error stems from argument exception(s), the `errors` property contains a dictionary for the argument error messages.


Other FSMB APIs not implementing Problem Details will return the following error object when returning 4xx or 5xx errors in most cases.

```json
{
"code": "Error code",
"message": "Descriptive message",
"target": "Optional target of the error",
"logId": "The ID of the log entry associated with the error, if any",
"innerError": { },
"data": { }
}
```

If the error was caused by a lower level error, then `innerError` contains the error detail of the child error. Some errors may return additional data in the `data` property. The `code` field identifies the underlying error that occurred while the `message` field provides a developer friendly message.