Preview Ruby 4.1 is a preview. It can change before the final release. 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-4.1.0-preview1/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.