Exception: Dimelo::CCP::API::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Dimelo::CCP::API::BaseError
- Defined in:
- lib/dimelo/ccp/api/error.rb
Instance Method Summary collapse
-
#initialize(name, status, message = '') ⇒ BaseError
constructor
A new instance of BaseError.
Constructor Details
#initialize(name, status, message = '') ⇒ BaseError
Returns a new instance of BaseError.
29 30 31 32 33 34 |
# File 'lib/dimelo/ccp/api/error.rb', line 29 def initialize(name, status, ='') @name = name @status = status @message = super("error_type:#{name} - status:#{status} - body:#{}") end |