Sha256: b01feb7c09f3c0c02e235c87122a43ca2ee50caaa6240c917a38ccff05d6b1a4

Contents?: true

Size: 764 Bytes

Versions: 106

Compression:

Stored size: 764 Bytes

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    module Tools
      # Super class error for Type class
      class BaseType < BaseTools
        def initialize(message, level = :fatal)
          super "[Type] #{message}", level
        end
      end

      module Type
        # Error for initialize method in Type class
        class Initialize < RubyRabbitmqJanus::Errors::Tools::BaseType
          def initialize
            super 'Error in initializer'
          end
        end

        # Error for convert method in Type class
        class Convert < RubyRabbitmqJanus::Errors::Tools::BaseType
          def initialize
            super 'Error for converting data to good type'
          end
        end
      end
    end
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.2.1.pre.181 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.1.pre.180 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.179 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.177 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.173 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.170 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.168 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.167 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.166 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.165 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.164 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.161 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.159 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.2.0.pre.42 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.1.1 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.1.1.pre.139 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.1.0 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.1.0.pre.137 lib/rrj/errors/tools/replaces/type.rb
ruby_rabbitmq_janus-2.1.0.pre.136 lib/rrj/errors/tools/replaces/type.rb