123456789_123456789_123456789_123456789_123456789_

Exception: RBS::EnvironmentLoader::UnknownLibraryError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • Object
Defined in: lib/rbs/environment_loader.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(lib:) ⇒ UnknownLibraryError

[ GitHub ]

  
# File 'lib/rbs/environment_loader.rb', line 6

def initialize(lib:)
  @library = lib

  super("Cannot find type definitions for library: #{lib.name} (#{lib.version || "[nil]"})")
end

Instance Attribute Details

#library (readonly)

[ GitHub ]

  
# File 'lib/rbs/environment_loader.rb', line 4

attr_reader :library