Class: Mutant::Transform::Error Private
- Inherits:
-
Object
- Object
- Mutant::Transform::Error
- Includes:
- Unparser::Adamantium
- Defined in:
- lib/mutant/transform.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Deep error data structure
Constant Summary collapse
- COMPACT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'%<path>s: %<message>s'
Instance Method Summary collapse
-
#compact_message ⇒ String
private
Compact error message.
-
#trace ⇒ Array<Error>
private
Error path trace.
Instance Method Details
#compact_message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Compact error message
37 38 39 |
# File 'lib/mutant/transform.rb', line 37 def COMPACT % { path:, message: trace.last. } end |