Exception: Textus::Workflow::NotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/textus/workflow.rb

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Methods inherited from Error

#details, #exit_code, #hint, #to_envelope

Constructor Details

#initialize(key) ⇒ NotFound

Returns a new instance of NotFound.



14
15
16
# File 'lib/textus/workflow.rb', line 14

def initialize(key)
  super(:workflow_not_found, "no workflow matches key '#{key}'; add a .textus/workflows/*.rb file with match: '#{key}'")
end