Sha256: b6db18d6870222d2bc7757cafb9e30e718e78826e0331ff82df338da32a35786

Contents?: true

Size: 672 Bytes

Versions: 3

Compression:

Stored size: 672 Bytes

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
    # Define an error if the configuration file is not here
    class ConfigFileNotFound < Errors::RRJError
      def initialize(file)
        super \
          "Error for configuration file (#{file}), does on exist.", :error
      end
    end

    # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
    # Define and error if rubrik level is not present
    class LevelNotDefine < Errors::RRJError
      def initialize
        super \
          'Error in configuration file : option level is not present.', :warn
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-1.1.12 lib/rrj/errors/config.rb
ruby_rabbitmq_janus-1.1.11 lib/rrj/errors/config.rb
ruby_rabbitmq_janus-1.1.10 lib/rrj/errors/config.rb