Exception: Transfluent::ApiError

Inherits:
Exception
  • Object
show all
Defined in:
lib/transfluent/api_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, message) ⇒ ApiError



3
4
5
# File 'lib/transfluent/api_error.rb', line 3

def initialize type, message
  super "Backend error: %s -- %s" % [ type, message ]
end