Class: Jade::Frontend::ForwardDeclaration::Error::ExposedValueNotFound
- Inherits:
-
Error
- Object
- Error
- Jade::Frontend::ForwardDeclaration::Error::ExposedValueNotFound
- Defined in:
- lib/jade/frontend/forward_declaration/error/exposed_value_not_found.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(entry, span, name:) ⇒ ExposedValueNotFound
constructor
A new instance of ExposedValueNotFound.
- #message ⇒ Object
Methods inherited from Error
#candidates, #label, #notes, #queried_name, #to_diagnostic
Constructor Details
#initialize(entry, span, name:) ⇒ ExposedValueNotFound
Returns a new instance of ExposedValueNotFound.
6 7 8 9 |
# File 'lib/jade/frontend/forward_declaration/error/exposed_value_not_found.rb', line 6 def initialize(entry, span, name:) @name = name super(entry:, span:) end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/jade/frontend/forward_declaration/error/exposed_value_not_found.rb', line 11 def "Your are trying to expose a value named `#{@name}` but I cannot find its definition" end |