Sha256: f9cdcfd4cf46cf2a879a4a979e78864a01cd7d226bac4223aeabd813ab23f13e

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

# Athenian::InvalidRequestError

## 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). |  |
| **pointer** | **String** | Path to the offending request item. | [optional] |

## Example

```ruby
require 'athenian'

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

Version data entries

3 entries across 3 versions & 1 rubygems

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