Sha256: be77cd9c5a2ffeb1a663498903a3992dc63bf109bf92a6752a3959176fbf45d6

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

module Monolens
  class Error < StandardError
  end
  class TypeError < Error
  end
  class LensError < Error
    def initialize(message, location = [])
      super(message)
      @location = location
    end
    attr_reader :location
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
monolens-0.6.4 lib/monolens/error.rb
monolens-0.6.3 lib/monolens/error.rb
monolens-0.6.2 lib/monolens/error.rb
monolens-0.6.1 lib/monolens/error.rb
monolens-0.6.0 lib/monolens/error.rb