Class Ruote::ProcessError
In: lib/ruote/dboard/process_error.rb
Parent: Object

Encapsulating all the information about an error in a process instance.

Methods

action   at   details   deviations   fei   fields   h   message   msg   new   to_dot   to_h   trace   tree   tree=   wfid   workitem  

Attributes

flow_expression  [RW]  When this instance was returned by Ruote::Dashboard#ps or Ruote::Dashboard#process, this attribute will point to the flow expression where the error occurred.

Public Class methods

Public Instance methods

‘apply’, ‘reply’, ‘receive’, … Indicates in which "direction" the error occured.

Returns an array of deviations (see the ‘filter’ expression) if the error is a Ruote::ValidationError.

Exposes the workitem fields directly.

h()

Alias for to_h

A shortcut for modifying the tree of an expression when it has had an error upon being applied.

Returns an instance of Ruote::Workitem (the workitem as it was at the error point)

Protected Instance methods

[Validate]