Exception: Chronicle::ETL::ConnectorNotAvailableError

Inherits:
Error
  • Object
show all
Defined in:
lib/chronicle/etl/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, provider: nil, name: nil) ⇒ ConnectorNotAvailableError

Returns a new instance of ConnectorNotAvailableError.



42
43
44
45
46
# File 'lib/chronicle/etl/exceptions.rb', line 42

def initialize(message, provider: nil, name: nil)
  super(message)
  @provider = provider
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



47
48
49
# File 'lib/chronicle/etl/exceptions.rb', line 47

def name
  @name
end

#providerObject (readonly)

Returns the value of attribute provider.



47
48
49
# File 'lib/chronicle/etl/exceptions.rb', line 47

def provider
  @provider
end