class Pdi::Spoon::PanError

This class subclasses Ruby's StandardError and provides a mapping to custom Pan specific error codes to messages. You can find the list of errors in Pentaho's documentation site, for example: help.pentaho.com/Documentation/8.0/Products/Data_Integration/Command_Line_Tools

Constants

MESSAGES

Attributes

execution[R]

Public Class Methods

new(execution) click to toggle source
Calls superclass method
# File lib/pdi/spoon/pan_error.rb, line 28
def initialize(execution)
  @execution = execution

  message = MESSAGES[execution.code.to_s] || 'Unknown'

  super(message)
end