Class: Zizq::AckProcessor::Nack
- Inherits:
-
Data
- Object
- Data
- Zizq::AckProcessor::Nack
- Defined in:
- lib/zizq/ack_processor.rb,
sig/generated/zizq/ack_processor.rbs
Overview
Immutable value object representing a job failure.
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
-
#error_type ⇒ Object
readonly
Returns the value of attribute error_type.
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace
23 24 25 |
# File 'lib/zizq/ack_processor.rb', line 23 def backtrace @backtrace end |
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type
23 24 25 |
# File 'lib/zizq/ack_processor.rb', line 23 def error_type @error_type end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id
23 24 25 |
# File 'lib/zizq/ack_processor.rb', line 23 def job_id @job_id end |
#message ⇒ Object (readonly)
Returns the value of attribute message
23 24 25 |
# File 'lib/zizq/ack_processor.rb', line 23 def @message end |
Class Method Details
.members ⇒ [ :job_id, :message, :error_type, :backtrace ]
37 |
# File 'sig/generated/zizq/ack_processor.rbs', line 37
def self.members: () -> [ :job_id, :message, :error_type, :backtrace ]
|
.new(job_id, message, error_type, backtrace) ⇒ instance .new(job_id:, message:, error_type:, backtrace:) ⇒ instance
34 35 |
# File 'sig/generated/zizq/ack_processor.rbs', line 34
def self.new: (untyped job_id, untyped message, untyped error_type, untyped backtrace) -> instance
| (job_id: untyped, message: untyped, error_type: untyped, backtrace: untyped) -> instance
|
Instance Method Details
#members ⇒ [ :job_id, :message, :error_type, :backtrace ]
39 |
# File 'sig/generated/zizq/ack_processor.rbs', line 39
def members: () -> [ :job_id, :message, :error_type, :backtrace ]
|