Sha256: 724ee0276f9f94b522a9940a6c620371d65e9850438e137eeffa918fdd940efb

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

module Chronicle
  module ETL
    class Error < StandardError; end;

    class ConnectorNotAvailableError < Error
      def initialize(message, provider: nil, name: nil)
        super(message)
        @provider = provider
        @name = name
      end
      attr_reader :name, :provider
    end

    class ProviderNotAvailableError < ConnectorNotAvailableError; end
    class ProviderConnectorNotAvailableError < ConnectorNotAvailableError; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chronicle-etl-0.2.3 lib/chronicle/etl/exceptions.rb
chronicle-etl-0.2.2 lib/chronicle/etl/exceptions.rb