Exception: EdifactConverter::EdifactError
- Inherits:
-
StandardError
- Object
- StandardError
- EdifactConverter::EdifactError
- Defined in:
- lib/edifact_converter/edifact_error.rb
Instance Attribute Summary collapse
-
#edifact_base64 ⇒ Object
Returns the value of attribute edifact_base64.
-
#message ⇒ Object
Returns the value of attribute message.
-
#position ⇒ Object
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize(message, position) ⇒ EdifactError
constructor
A new instance of EdifactError.
- #to_message ⇒ Object
Constructor Details
#initialize(message, position) ⇒ EdifactError
Returns a new instance of EdifactError.
8 9 10 11 |
# File 'lib/edifact_converter/edifact_error.rb', line 8 def initialize(, position) self. = self.position = position end |
Instance Attribute Details
#edifact_base64 ⇒ Object
Returns the value of attribute edifact_base64.
6 7 8 |
# File 'lib/edifact_converter/edifact_error.rb', line 6 def edifact_base64 @edifact_base64 end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/edifact_converter/edifact_error.rb', line 6 def end |
#position ⇒ Object
Returns the value of attribute position.
6 7 8 |
# File 'lib/edifact_converter/edifact_error.rb', line 6 def position @position end |
Instance Method Details
#to_message ⇒ Object
13 14 15 |
# File 'lib/edifact_converter/edifact_error.rb', line 13 def Message.new(position: position, text: ) end |