Exception: Pione::Lang::ParamError
- Defined in:
- lib/pione/lang/lang-exception.rb
Overview
ParamError is raised when undefined parameter is specified.
Instance Method Summary collapse
-
#initialize(name, package_id) ⇒ ParamError
constructor
A new instance of ParamError.
- #message ⇒ Object
Constructor Details
#initialize(name, package_id) ⇒ ParamError
Returns a new instance of ParamError.
59 60 61 62 |
# File 'lib/pione/lang/lang-exception.rb', line 59 def initialize(name, package_id) @name = name @package_id = package_id end |
Instance Method Details
#message ⇒ Object
64 65 66 |
# File 'lib/pione/lang/lang-exception.rb', line 64 def "parameter %s is not declared in package %s" % [@name, @package_id] end |