Exception: ApiException::ModelException
- Inherits:
-
BaseException
- Object
- StandardError
- BaseException
- ApiException::ModelException
- Defined in:
- lib/api_exception/model_exception.rb
Instance Attribute Summary
Attributes inherited from BaseException
#code, #error_type, #errors, #message, #type
Instance Method Summary collapse
-
#initialize(error_type, errors, params = {}, platform = "API") ⇒ ModelException
constructor
A new instance of ModelException.
Constructor Details
#initialize(error_type, errors, params = {}, platform = "API") ⇒ ModelException
Returns a new instance of ModelException.
4 5 6 |
# File 'lib/api_exception/model_exception.rb', line 4 def initialize(error_type, errors, params = {}, platform = "API") super end |