Sha256: 52e78b51980da0759169015e29f0aed6c502666cec88a4f6ffcf408c7d8a9367

Contents?: true

Size: 210 Bytes

Versions: 7

Compression:

Stored size: 210 Bytes

Contents

module Myrrha

  # Raised when a coercion fails
  class Error < StandardError
    attr_reader :cause
    def initialize(msg, cause = $!)
      super(msg)
      @cause = cause
    end
  end

end # module Myrrha

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
myrrha-3.0.0.rc6 lib/myrrha/errors.rb
myrrha-3.0.0.rc5 lib/myrrha/errors.rb
myrrha-3.0.0.rc4 lib/myrrha/errors.rb
myrrha-3.0.0.rc3 lib/myrrha/errors.rb
myrrha-3.0.0.rc2 lib/myrrha/errors.rb
myrrha-3.0.0.rc1 lib/myrrha/errors.rb
myrrha-2.0.0 lib/myrrha/errors.rb