Class: Courier::Models::JourneyRunStep::Error
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::JourneyRunStep::Error
- Defined in:
- lib/courier/models/journey_run_step.rb,
sig/courier/models/journey_run_step.rbs
Overview
Instance Attribute Summary collapse
-
#message ⇒ String
The reason, e.g.
Instance Method Summary collapse
-
#initialize(message:) ⇒ Error
constructor
Some parameter documentations has been truncated, see Error for more details.
- #to_hash ⇒ { message: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(message:) ⇒ Error
Some parameter documentations has been truncated, see Courier::Models::JourneyRunStep::Error for more details.
Why the step failed. Set when status is ERROR, null otherwise.
|
|
# File 'lib/courier/models/journey_run_step.rb', line 90
|
Instance Attribute Details
#message ⇒ String
The reason, e.g. Fetch failed: GET api.example.com returned 404 or
AI step timed out after 15 minutes.
88 |
# File 'lib/courier/models/journey_run_step.rb', line 88 required :message, String |
Instance Method Details
#to_hash ⇒ { message: String }
69 |
# File 'sig/courier/models/journey_run_step.rbs', line 69
def to_hash: -> { message: String }
|