Exception: Dropmire::ParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/dropmire/error/parse_error.rb

Instance Attribute Summary

Attributes inherited from Error

#message, #text

Instance Method Summary collapse

Constructor Details

#initialize(message = "Malformed input string", text = nil) ⇒ ParseError

Returns a new instance of ParseError.


3
4
5
# File 'lib/dropmire/error/parse_error.rb', line 3

def initialize(message="Malformed input string", text=nil)
  super(message, text)
end

Instance Method Details

#to_sObject


7
8
9
# File 'lib/dropmire/error/parse_error.rb', line 7

def to_s
  "Parse" + super
end