docs/GenericError.md in ory-client-0.0.1.alpha131 vs docs/GenericError.md in ory-client-0.0.1.alpha132
- old
+ new
@@ -3,36 +3,32 @@
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **code** | **Integer** | The status code | [optional] |
-| **debug** | **String** | Debug contains debug information. This is usually not available and has to be enabled. | [optional] |
+| **debug** | **String** | Debug information This field is often not exposed to protect against leaking sensitive information. | [optional] |
| **details** | **Object** | Further error details | [optional] |
-| **error** | **String** | Name is the error name. | [optional] |
-| **error_description** | **String** | Description contains further information on the nature of the error. | [optional] |
+| **error** | [**GenericErrorContent**](GenericErrorContent.md) | | [optional] |
| **id** | **String** | The error ID Useful when trying to identify various errors in application logic. | [optional] |
-| **message** | **String** | Message contains the error message. | |
+| **message** | **String** | Error message The error's message. | |
| **reason** | **String** | A human-readable reason for the error | [optional] |
| **request** | **String** | The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. | [optional] |
| **status** | **String** | The status description | [optional] |
-| **status_code** | **Integer** | Code represents the error status code (404, 403, 401, ...). | [optional] |
## Example
```ruby
require 'ory-client'
instance = OryClient::GenericError.new(
code: 404,
- debug: The database adapter was unable to find the element,
+ debug: SQL field "foo" is not a bool.,
details: null,
- error: The requested resource could not be found,
- error_description: Object with ID 12345 does not exist,
+ error: null,
id: null,
message: The resource could not be found,
reason: User with ID 1234 does not exist.,
request: d7ef54b1-ec15-46e6-bccb-524b82c035e6,
- status: Not Found,
- status_code: 404
+ status: Not Found
)
```