Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::RequestSet::Lockfile::ParseError.new
new(message, column, line, path)
lib/rubygems/request_set/lockfile.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/request_set/lockfile.rb, line 32
def initialize(message, column, line, path)
@line = line
@column = column
@path = path
super "#{message} (at line #{line} column #{column})"
end
Raises a ParseError with the given message which was encountered at a line and column while parsing.