Exception: Wheneverd::DSL::Error
- Defined in:
- lib/wheneverd/dsl/errors.rb
Overview
Base error class for schedule DSL problems.
These errors include the path to the schedule file to make CLI output more actionable.
Direct Known Subclasses
Instance Attribute Summary collapse
- #path ⇒ String readonly
Instance Method Summary collapse
-
#initialize(message, path:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, path:) ⇒ Error
Returns a new instance of Error.
14 15 16 17 |
# File 'lib/wheneverd/dsl/errors.rb', line 14 def initialize(, path:) super() @path = path end |
Instance Attribute Details
#path ⇒ String (readonly)
10 11 12 |
# File 'lib/wheneverd/dsl/errors.rb', line 10 def path @path end |