Class: Morpher::Transform::Error
- Inherits:
-
Object
- Object
- Morpher::Transform::Error
- Includes:
- Adamantium
- Defined in:
- lib/morpher/transform.rb
Overview
Deep error data structure
Constant Summary collapse
- COMPACT =
'%<path>s: %<message>s'
Instance Method Summary collapse
-
#compact_message ⇒ String
Compact error message.
-
#trace ⇒ Array<Error>
Error path trace.
Instance Method Details
#compact_message ⇒ String
Compact error message
70 71 72 |
# File 'lib/morpher/transform.rb', line 70 def COMPACT % { path: path, message: trace.last. } end |