class RBS::RecursiveTypeAliasError - rbs: Ruby Standard Library Documentation

# class RBS::RecursiveTypeAliasError

### Attributes

alias_names[R]
location[R]

### Public Class Methods

new(alias_names:, location:) click to toggle source
Calls superclass method

    # File rbs-3.8.0/lib/rbs/errors.rb, line 488
    def initialize(alias_names:, location:)
      @alias_names = alias_names
      @location = location

      super "#{Location.to_string location}: Recursive type alias definition found for: #{name}"
    end

### Public Instance Methods

name() click to toggle source

    # File rbs-3.8.0/lib/rbs/errors.rb, line 495
    def name
      @alias_names.map(&:name).join(', ')
    end