Sha256: cc9fe6d854e1f5fd0fafa2dff8ab4ab69f2d7dd8d50999ae5555e0398ace8482

Contents?: true

Size: 1.12 KB

Versions: 12

Compression:

Stored size: 1.12 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-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

12 entries across 12 versions & 1 rubygems

Version Path
ory-client-0.0.1.alpha16 docs/GenericError.md
ory-client-0.0.1.alpha15 docs/GenericError.md
ory-client-0.0.1.alpha14 docs/GenericError.md
ory-client-0.0.1.alpha13 docs/GenericError.md
ory-client-0.0.1.alpha12 docs/GenericError.md
ory-client-0.0.1.alpha11 docs/GenericError.md
ory-client-0.0.1.alpha10 docs/GenericError.md
ory-client-0.0.1.alpha9 docs/GenericError.md
ory-client-0.0.1.alpha8 docs/GenericError.md
ory-client-0.0.1.alpha7 docs/GenericError.md
ory-client-0.0.1.alpha6 docs/GenericError.md
ory-client-0.0.1.alpha5 docs/GenericError.md