Method: MKIt::BaseException#initialize
- Defined in:
- lib/mkit/exceptions.rb
#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 |