Exception: MKIt::BaseException
- Inherits:
-
Exception
- Object
- Exception
- MKIt::BaseException
- Defined in:
- lib/mkit/exceptions.rb
Direct Known Subclasses
InvalidPortsConfiguration, ServiceAlreadyExists, ServiceNameMismatch
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code, message = nil) ⇒ BaseException
constructor
A new instance of BaseException.
Constructor Details
#initialize(error_code, message = nil) ⇒ BaseException
Returns a new instance of BaseException.
4 5 6 7 |
# File 'lib/mkit/exceptions.rb', line 4 def initialize(error_code, = nil) super() @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
3 4 5 |
# File 'lib/mkit/exceptions.rb', line 3 def error_code @error_code end |