Class: Embulk::ConfigError

Inherits:
Java::Config::ConfigException
  • Object
show all
Defined in:
embulk-core/src/main/ruby/embulk/error.rb

Overview

ConfigError is not a ::StandardError but is a java.lang.RuntimeException. “rescue => e” can rescues ConfigError.

Direct Known Subclasses

PluginLoadError

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ ConfigError

Returns a new instance of ConfigError



6
7
8
9
10
11
12
# File 'embulk-core/src/main/ruby/embulk/error.rb', line 6

def initialize(message=nil)
  if message
    super(message.to_s)
  else
    super()
  end
end