Exception: Snails::Logger::OTLPTransport::DeliveryError
- Defined in:
- runtime/snails/logger/otlp_transport.rb,
runtime/snails/logger/otlp_transport.rbs
Overview
The failure send_encoded raises for a non-2xx response. status is
the HTTP code, nil for a network-level failure.
Instance Method Summary collapse
-
#initialize(message, status = nil) ⇒ DeliveryError
constructor
A new instance of DeliveryError.
-
#status ⇒ Integer?
the HTTP status that failed, or nil for a network error.
Constructor Details
#initialize(message, status = nil) ⇒ DeliveryError
Returns a new instance of DeliveryError.
11 |
# File 'runtime/snails/logger/otlp_transport.rbs', line 11
def initialize: (String message, ?Integer? status) -> void
|
Instance Method Details
#status ⇒ Integer?
the HTTP status that failed, or nil for a network error.
41 |
# File 'runtime/snails/logger/otlp_transport.rb', line 41
def status: () -> Integer?
|