Sha256: e1761232ce579f24b53f4e102d485a9e9519c739fe4e7d4b31ddbeff8cb2726e

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

# OryHydraClient::GenericError

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **code** | **Integer** | The status code | [optional] |
| **debug** | **String** | Debug information  This field is often not exposed to protect against leaking sensitive information. | [optional] |
| **details** | **Hash<String, Object>** | Further error details | [optional] |
| **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] |

## Example

```ruby
require 'ory-kratos-client'

instance = OryHydraClient::GenericError.new(
  code: 404,
  debug: SQL field "foo" is not a bool.,
  details: 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
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ory-kratos-client-0.7.1.alpha1 docs/GenericError.md
ory-kratos-client-0.7.0.alpha1 docs/GenericError.md
ory-kratos-client-0.6.3.alpha1 docs/GenericError.md