class Resquire::ResquireError
ResquireError
handles the custom error handling for this Gem
Example¶ ↑
# Typical use case raise ResquireError.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/resquire/errors.rb, line 12 def initialize(problem="Willow Run seems to have encountered a problem.") @problem = problem super(@problem) end