class WillowRun::WillowRunError

WillowRunError handles the custom error handling for this Gem

Example

# Typical use case
raise WillowRunError.new("This is a custom error!")

Attributes

problem[R]

Public Class Methods

new(problem="Willow Run seems to have encountered a problem.") click to toggle source
Calls superclass method
# File lib/willow_run/errors.rb, line 12
def initialize(problem="Willow Run seems to have encountered a problem.")
  @problem = problem
  super(@problem)
end