Exception: Odin::Transform::TransformEngine::TransformError
- Inherits:
-
StandardError
- Object
- StandardError
- Odin::Transform::TransformEngine::TransformError
- Defined in:
- lib/odin/transform/transform_engine.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#field ⇒ Object
Returns the value of attribute field.
-
#segment ⇒ Object
Returns the value of attribute segment.
Instance Method Summary collapse
-
#initialize(message, code: "E001") ⇒ TransformError
constructor
A new instance of TransformError.
Constructor Details
#initialize(message, code: "E001") ⇒ TransformError
Returns a new instance of TransformError.
13 14 15 16 |
# File 'lib/odin/transform/transform_engine.rb', line 13 def initialize(, code: "E001") @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/odin/transform/transform_engine.rb', line 10 def code @code end |
#field ⇒ Object
Returns the value of attribute field.
11 12 13 |
# File 'lib/odin/transform/transform_engine.rb', line 11 def field @field end |
#segment ⇒ Object
Returns the value of attribute segment.
11 12 13 |
# File 'lib/odin/transform/transform_engine.rb', line 11 def segment @segment end |