Sha256: 01660963bcd183219ce667911a46a9921c899c4a27d179ec2e5a8451bc222ce8

Contents?: true

Size: 918 Bytes

Versions: 3

Compression:

Stored size: 918 Bytes

Contents

# Athenian::GenericError

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **detail** | **String** | Human-readable explanation specific to this occurrence of the problem. | [optional] |
| **instance** | **String** | URI reference that identifies the specific occurrence of the problem. It is `null` for 4xx, Sentry event ID for 5xx. | [optional] |
| **status** | **Integer** | Duplicated HTTP status code. |  |
| **title** | **String** | Short, human-readable summary of the problem type. |  |
| **type** | **String** | URI reference that identifies the problem type (RFC 7807). |  |

## Example

```ruby
require 'athenian'

instance = Athenian::GenericError.new(
  detail: Unsupported metric: pr-xxx-time,
  instance: 2763c4eabd7240f59829ee1a02546293,
  status: 400,
  title: Bad request syntax or unsupported method.,
  type: /errors/InvalidRequestError
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
athenian-2.1.86 docs/GenericError.md
athenian-2.1.85 docs/GenericError.md
athenian-2.1.81 docs/GenericError.md