Exception: XES::FormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/xes/format-error.rb

Overview

FormatError is raised when you failed to format XES element.

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ FormatError

Returns a new instance of FormatError.

Parameters:

  • element (Object)

    object that caused to raise this exception



6
7
8
# File 'lib/xes/format-error.rb', line 6

def initialize(element)
  @element = element
end

Instance Method Details

#messageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
# File 'lib/xes/format-error.rb', line 11

def message
  "Error happened on formatting %s" % @element.inspect
end