Exception: Tnw::Metrics::IngestionError
- Inherits:
-
StandardError
- Object
- StandardError
- Tnw::Metrics::IngestionError
- Defined in:
- lib/tnw/metrics/ingestion_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ IngestionError
constructor
A new instance of IngestionError.
Constructor Details
#initialize(code, message) ⇒ IngestionError
Returns a new instance of IngestionError.
6 7 8 9 |
# File 'lib/tnw/metrics/ingestion_error.rb', line 6 def initialize(code, ) @code = code.to_s super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
4 5 6 |
# File 'lib/tnw/metrics/ingestion_error.rb', line 4 def code @code end |