Exception: Steep::Subtyping::Check::CannotResolveError
- Inherits:
-
StandardError
- Object
- StandardError
- Steep::Subtyping::Check::CannotResolveError
- Defined in:
- lib/steep/subtyping/check.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:) ⇒ CannotResolveError
constructor
A new instance of CannotResolveError.
Constructor Details
#initialize(type:) ⇒ CannotResolveError
Returns a new instance of CannotResolveError.
600 601 602 603 |
# File 'lib/steep/subtyping/check.rb', line 600 def initialize(type:) @type = type super "Type #{type} cannot resolve to interface" end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
598 599 600 |
# File 'lib/steep/subtyping/check.rb', line 598 def type @type end |