class Pdi::Spoon::KitchenError
This class subclasses Ruby's StandardError and provides a mapping to custom Kitchen 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/kitchen_error.rb, line 27 def initialize(execution) @execution = execution message = MESSAGES[execution.code.to_s] || 'Unknown' super(message) end