Exception: Almapi::AlmapiError
- Inherits:
-
StandardError
- Object
- StandardError
- Almapi::AlmapiError
- Defined in:
- lib/almapi/almapi_error.rb
Instance Method Summary collapse
-
#initialize(msg = "This is an AlmpiError", exception_type = "AlmpiError") ⇒ AlmapiError
constructor
Initializes a new AlmapiError object.
Constructor Details
#initialize(msg = "This is an AlmpiError", exception_type = "AlmpiError") ⇒ AlmapiError
Initializes a new AlmapiError object
10 11 12 13 |
# File 'lib/almapi/almapi_error.rb', line 10 def initialize(msg = "This is an AlmpiError", exception_type = "AlmpiError") @exception_type = exception_type super(msg) # Calling initialize in StandardError end |