Exception: Yaso::InvalidFirstStepError

Inherits:
Error
  • Object
show all
Defined in:
lib/yaso/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(category) ⇒ InvalidFirstStepError

Returns a new instance of InvalidFirstStepError.



13
14
15
# File 'lib/yaso/errors.rb', line 13

def initialize(category)
  super("#{category.to_s.capitalize} cannot be the first step")
end