Sha256: 8ea095e0ac48df8d3c82bdc35748a473e8e5a045e46fd2e2df713351f40aab10

Contents?: true

Size: 287 Bytes

Versions: 31

Compression:

Stored size: 287 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

module UnitMeasurements
  class ParseError < BaseError
    attr_reader :string

    def initialize(string)
      @string = string

      super("Unable to parse: '#{string}'.")
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
unit_measurements-4.9.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.8.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.7.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.6.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.5.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.4.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.3.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.2.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.1.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-4.0.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.8.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.7.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.6.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.5.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.4.1 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.3.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.4.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.2.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.1.0 lib/unit_measurements/errors/parse_error.rb
unit_measurements-3.0.0 lib/unit_measurements/errors/parse_error.rb