Exception: Fluent::Counter::BaseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fluent/counter/error.rb

Instance Method Summary collapse

Instance Method Details

#codeObject

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/fluent/counter/error.rb', line 24

def code
  raise NotImplementedError
end

#to_hashObject



20
21
22
# File 'lib/fluent/counter/error.rb', line 20

def to_hash
  { 'code' => code, 'message' => message }
end