Sha256: b6172bb4a38652ea94e48b751ec2ba4aa0b79512c437e9c195fd2414e4e6b7c2
Contents?: true
Size: 776 Bytes
Versions: 4
Compression:
Stored size: 776 Bytes
Contents
module Solve # @author Jamie Winsor <jamie@vialstudios.com> module Errors class SolveError < StandardError; end class InvalidVersionFormat < SolveError attr_reader :version # @param [#to_s] version def initialize(version) @version = version end def message "'#{version}' did not contain a valid version string: 'x.y.z' or 'x.y'." end end class InvalidConstraintFormat < SolveError attr_reader :constraint # @param [#to_s] constraint def initialize(constraint) @constraint = constraint end def message "'#{constraint}' did not contain a valid operator or a valid version string." end end class NoSolutionError < SolveError; end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
solve-0.4.0 | lib/solve/errors.rb |
solve-0.4.0.rc1 | lib/solve/errors.rb |
solve-0.3.1 | lib/solve/errors.rb |
solve-0.3.0 | lib/solve/errors.rb |