Exception: Rbnotes::MissingArgumentError

Inherits:
Error
  • Object
show all
Defined in:
lib/rbnotes/error.rb

Overview

An error raised if an essential argument was missing.

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ MissingArgumentError

Returns a new instance of MissingArgumentError.



27
28
29
# File 'lib/rbnotes/error.rb', line 27

def initialize(args)
  super(ErrMsg::MISSING_ARGUMENT % args.to_s)
end