Exception: Railsmith::Pipeline::GuardNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Railsmith::Pipeline::GuardNotFoundError
- Defined in:
- lib/railsmith/pipeline/errors.rb
Overview
Raised when a step’s if:/unless: references a guard name not registered on the pipeline via the guard helper.
Instance Method Summary collapse
-
#initialize(guard_name) ⇒ GuardNotFoundError
constructor
A new instance of GuardNotFoundError.
Constructor Details
#initialize(guard_name) ⇒ GuardNotFoundError
Returns a new instance of GuardNotFoundError.
16 17 18 |
# File 'lib/railsmith/pipeline/errors.rb', line 16 def initialize(guard_name) super("Pipeline guard :#{guard_name} is not defined on this pipeline") end |