Exception: Mail::Field::IncompleteParseError
- Inherits:
-
ParseError
- Object
- StandardError
- FieldError
- ParseError
- Mail::Field::IncompleteParseError
- Defined in:
- lib/mail/field.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(element, original_text, unparsed_index) ⇒ IncompleteParseError
constructor
A new instance of IncompleteParseError.
Constructor Details
#initialize(element, original_text, unparsed_index) ⇒ IncompleteParseError
Returns a new instance of IncompleteParseError.
107 108 109 110 |
# File 'lib/mail/field.rb', line 107 def initialize(element, original_text, unparsed_index) parsed_text = to_utf8(original_text[0...unparsed_index]) super element, original_text, "Only able to parse up to #{parsed_text.inspect}" end |