Sha256: 85d2dc0305c1a0c5c2575d789759c567a48fac6208cb7cbfbd68aa29285d0e4a

Contents?: true

Size: 1.35 KB

Versions: 42

Compression:

Stored size: 1.35 KB

Contents

# OryClient::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** | **Array<Hash<String, Object>>** | Further error details | [optional] |
| **error** | [**GenericErrorContent**](GenericErrorContent.md) |  | [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-client'

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
ory-client-0.2.0.alpha28 docs/GenericError.md
ory-client-0.2.0.alpha27 docs/GenericError.md
ory-client-0.2.0.alpha26 docs/GenericError.md
ory-client-0.2.0.alpha25 docs/GenericError.md
ory-client-0.2.0.alpha24 docs/GenericError.md
ory-client-0.2.0.alpha23 docs/GenericError.md
ory-client-0.2.0.alpha22 docs/GenericError.md
ory-client-0.2.0.alpha21 docs/GenericError.md
ory-client-0.2.0.alpha20 docs/GenericError.md
ory-client-0.2.0.alpha19 docs/GenericError.md
ory-client-0.2.0.alpha18 docs/GenericError.md
ory-client-0.2.0.alpha16 docs/GenericError.md
ory-client-0.2.0.alpha15 docs/GenericError.md
ory-client-0.2.0.alpha14 docs/GenericError.md
ory-client-0.2.0.alpha4 docs/GenericError.md
ory-client-0.2.0.alpha2 docs/GenericError.md
ory-client-0.1.0.alpha12 docs/GenericError.md
ory-client-0.1.0.alpha11 docs/GenericError.md
ory-client-0.1.0.alpha10 docs/GenericError.md
ory-client-0.1.0.alpha9 docs/GenericError.md