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
356 357 358 359 |
# File 'lib/steep/diagnostic/signature.rb', line 356 def initialize(message:, location:) @message = @location = location end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
354 355 356 |
# File 'lib/steep/diagnostic/signature.rb', line 354 def @message end |
Instance Method Details
#header_line ⇒ Object
361 362 363 |
# File 'lib/steep/diagnostic/signature.rb', line 361 def header_line "Unexpected error: #{}" end |