Exception: AppEngine::Exec::BadParameter
- Inherits:
-
UsageError
- Object
- StandardError
- UsageError
- AppEngine::Exec::BadParameter
- Defined in:
- lib/appengine/exec.rb
Overview
Exception raised when a parameter is malformed.
Instance Attribute Summary collapse
-
#param_name ⇒ Object
readonly
Returns the value of attribute param_name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(param, value) ⇒ BadParameter
constructor
A new instance of BadParameter.
Constructor Details
#initialize(param, value) ⇒ BadParameter
278 279 280 281 282 |
# File 'lib/appengine/exec.rb', line 278 def initialize param, value @param_name = param @value = value super "Bad value for #{param}: #{value}" end |
Instance Attribute Details
#param_name ⇒ Object (readonly)
Returns the value of attribute param_name.
283 284 285 |
# File 'lib/appengine/exec.rb', line 283 def param_name @param_name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
284 285 286 |
# File 'lib/appengine/exec.rb', line 284 def value @value end |