Exception: Snails::Logger::Delivery::DroppedBatch
- Defined in:
- runtime/snails/logger/delivery.rb,
runtime/snails/logger/delivery.rbs
Overview
A batch the transport refused. It carries the record count so the local failure line says how much was dropped, not just that something failed.
Instance Method Summary collapse
-
#count ⇒ Integer
how many records were in the dropped batch.
-
#initialize(count, cause) ⇒ DroppedBatch
constructor
A new instance of DroppedBatch.
-
#severity ⇒ Symbol
how the local line reports the loss: records are gone.
Constructor Details
#initialize(count, cause) ⇒ DroppedBatch
Returns a new instance of DroppedBatch.
10 |
# File 'runtime/snails/logger/delivery.rbs', line 10
def initialize: (Integer count, Exception cause) -> void
|
Instance Method Details
#count ⇒ Integer
how many records were in the dropped batch.
35 |
# File 'runtime/snails/logger/delivery.rb', line 35
def count: () -> Integer
|
#severity ⇒ Symbol
how the local line reports the loss: records are gone.
42 |
# File 'runtime/snails/logger/delivery.rb', line 42
def severity: () -> Symbol
|