Exception: Transfluent::ApiError
- Inherits:
-
Exception
- Object
- Exception
- Transfluent::ApiError
- Defined in:
- lib/transfluent/api_error.rb
Instance Method Summary collapse
-
#initialize(type, message) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(type, message) ⇒ ApiError
3 4 5 |
# File 'lib/transfluent/api_error.rb', line 3 def initialize type, super "Backend error: %s -- %s" % [ type, ] end |