Exception: Expressir::UsageError
- Defined in:
- lib/expressir/errors.rb
Overview
Usage/Argument Errors
Direct Known Subclasses
Instance Attribute Summary collapse
-
#usage_hint ⇒ Object
readonly
Returns the value of attribute usage_hint.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, usage_hint: nil) ⇒ UsageError
constructor
A new instance of UsageError.
Constructor Details
#initialize(message, usage_hint: nil) ⇒ UsageError
Returns a new instance of UsageError.
47 48 49 50 |
# File 'lib/expressir/errors.rb', line 47 def initialize(, usage_hint: nil) @usage_hint = usage_hint super() end |
Instance Attribute Details
#usage_hint ⇒ Object (readonly)
Returns the value of attribute usage_hint.
45 46 47 |
# File 'lib/expressir/errors.rb', line 45 def usage_hint @usage_hint end |