Sha256: e8ed3f1e02304bda5715461359a1fb9586f55a305f8c0e7f2ae95d1ebae90df4
Contents?: true
Size: 395 Bytes
Versions: 3
Compression:
Stored size: 395 Bytes
Contents
module Resquire # ResquireError handles the custom error handling for this Gem # # == Example # # # Typical use case # raise ResquireError.new("This is a custom error!") # class ResquireError < StandardError attr_reader :problem def initialize(problem="Willow Run seems to have encountered a problem.") @problem = problem super(@problem) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
resquire-1.0.2 | lib/resquire/errors.rb |
resquire-1.0.1 | lib/resquire/errors.rb |
resquire-1.0.0 | lib/resquire/errors.rb |