Exception: Steep::AST::Types::Factory::InterfaceCalculationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/steep/ast/types/factory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, message:) ⇒ InterfaceCalculationError

Returns a new instance of InterfaceCalculationError.



272
273
274
275
# File 'lib/steep/ast/types/factory.rb', line 272

def initialize(type:, message:)
  @type = type
  super message
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



270
271
272
# File 'lib/steep/ast/types/factory.rb', line 270

def type
  @type
end