Sha256: 123360cf9d62c2473c96ab0b473e5b613e5b71d0f3dde26c369c5c64191e1019

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

# OryKratosClient::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** | **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 = OryKratosClient::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

14 entries across 14 versions & 1 rubygems

Version Path
ory-kratos-client-0.7.6.alpha7 docs/GenericError.md
ory-kratos-client-0.7.6.alpha6 docs/GenericError.md
ory-kratos-client-0.7.6.alpha5 docs/GenericError.md
ory-kratos-client-0.7.6.alpha4 docs/GenericError.md
ory-kratos-client-0.7.6.alpha3 docs/GenericError.md
ory-kratos-client-0.7.6.alpha1 docs/GenericError.md
ory-kratos-client-0.7.5.alpha2 docs/GenericError.md
ory-kratos-client-0.7.3.alpha8 docs/GenericError.md
ory-kratos-client-0.7.3.alpha6 docs/GenericError.md
ory-kratos-client-0.7.3.alpha5 docs/GenericError.md
ory-kratos-client-0.7.3.alpha4 docs/GenericError.md
ory-kratos-client-0.7.3.alpha3 docs/GenericError.md
ory-kratos-client-0.7.3.alpha2 docs/GenericError.md
ory-kratos-client-0.7.3.alpha1 docs/GenericError.md