Class ParsingError
In: lib/error/parsing_error.rb
Parent: StandardError

This Error is raised if a string cannot be parsed.

Mainly used in from_h functions (of Link, Word, Sense, Concept and Logi)

Methods

message   new  

Attributes

parse_string  [RW] 

Public Class methods

[Source]

    # File lib/error/parsing_error.rb, line 21
21:   def initialize(parse_string)
22:     @parse_string = parse_string
23:   end

Public Instance methods

[Source]

    # File lib/error/parsing_error.rb, line 25
25:   def message
26:     super.to_s + ': ' + @parse_string.to_s
27:   end

[Validate]