Exception: RBS::RecursiveAliasDefinitionError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
DefinitionError ,
BaseError ,
StandardError
|
|
Instance Chain:
|
|
Inherits: |
RBS::DefinitionError
|
Defined in: | lib/rbs/errors.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(type:, defs:) ⇒ RecursiveAliasDefinitionError
Instance Attribute Details
#defs (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 419
attr_reader :defs
#type (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 418
attr_reader :type
Instance Method Details
#location
[ GitHub ]# File 'lib/rbs/errors.rb', line 428
def location first_def = defs.first or raise original = first_def.original or raise original.location end