Class: Inttegro::Shared::ErrorEnvelope
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::ErrorEnvelope
- Defined in:
- lib/inttegro/shared/error_envelope.rb
Overview
Typed representation of the error envelope object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#error ⇒ Inttegro::Shared::ErrorPayload
readonly
Standard error response structure returned by all API endpoints.
Instance Attribute Details
#error ⇒ Inttegro::Shared::ErrorPayload (readonly)
Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution.
Required in the API payload. Wire name: error.
25 26 27 |
# File 'lib/inttegro/shared/error_envelope.rb', line 25 class ErrorEnvelope < T::Struct const :error, Inttegro::Shared::ErrorPayload end |