Sha256: 5cdde4f5839066ef6bc1238513a309dda665ffda756c7b99644aaf96067b979d

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 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] |
| **id** | **String** | The error ID  Useful when trying to identify various errors in application logic. | [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-hydra-client'

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ory-hydra-client-1.11.8 docs/GenericError.md
ory-hydra-client-1.11.7 docs/GenericError.md
ory-hydra-client-1.11.6 docs/GenericError.md
ory-hydra-client-1.11.5 docs/GenericError.md
ory-hydra-client-1.11.4 docs/GenericError.md