Exception: Fluent::Counter::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Fluent::Counter::BaseError
- Defined in:
- lib/fluent/counter/error.rb
Direct Known Subclasses
InternalServerError, InvalidParams, InvalidRequest, MethodNotFound, ParseError, UnknownKey
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
24 25 26 |
# File 'lib/fluent/counter/error.rb', line 24 def code raise NotImplementedError end |
#to_hash ⇒ Object
20 21 22 |
# File 'lib/fluent/counter/error.rb', line 20 def to_hash { 'code' => code, 'message' => } end |