Class: Steep::Diagnostic::Signature::UnexpectedError
- Defined in:
- lib/steep/diagnostic/signature.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Attributes inherited from Base
Instance Method Summary collapse
- #header_line ⇒ Object
-
#initialize(message:, location:) ⇒ UnexpectedError
constructor
A new instance of UnexpectedError.
Methods inherited from Base
#detail_lines, #diagnostic_code, #path
Methods included from Helper
Constructor Details
#initialize(message:, location:) ⇒ UnexpectedError
Returns a new instance of UnexpectedError.
387 388 389 390 |
# File 'lib/steep/diagnostic/signature.rb', line 387 def initialize(message:, location:) @message = @location = location end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
385 386 387 |
# File 'lib/steep/diagnostic/signature.rb', line 385 def @message end |
Instance Method Details
#header_line ⇒ Object
392 393 394 |
# File 'lib/steep/diagnostic/signature.rb', line 392 def header_line "Unexpected error: #{}" end |