Sha256: 7a99beeac856733fca902e624345352898f1e797369a92a7392eec9df1c3b06f

Contents?: true

Size: 317 Bytes

Versions: 25

Compression:

Stored size: 317 Bytes

Contents

module Semrush
  module Exception
    class Base < ::Exception
      def initialize query = nil, message = ""
        message = "[query=#{query.inspect}] #{message}" if !query.nil?
        super(message)
      end
    end
  end
end
Dir[File.expand_path('../exception/', __FILE__)+'/*.rb'].each {|file| require(file) }

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
semrush-3.0.25 lib/semrush/exception.rb
semrush-3.0.23 lib/semrush/exception.rb
semrush-3.0.22 lib/semrush/exception.rb
semrush-3.0.21 lib/semrush/exception.rb
semrush-3.0.20 lib/semrush/exception.rb
semrush-3.0.19 lib/semrush/exception.rb
semrush-3.0.18 lib/semrush/exception.rb
semrush-3.0.17 lib/semrush/exception.rb
semrush-3.0.16 lib/semrush/exception.rb
semrush-3.0.15 lib/semrush/exception.rb
semrush-3.0.14 lib/semrush/exception.rb
semrush-3.0.13 lib/semrush/exception.rb
semrush-3.0.12 lib/semrush/exception.rb
semrush-3.0.11 lib/semrush/exception.rb
semrush-3.0.10 lib/semrush/exception.rb
semrush-3.0.9 lib/semrush/exception.rb
semrush-3.0.8 lib/semrush/exception.rb
semrush-3.0.7 lib/semrush/exception.rb
semrush-3.0.6 lib/semrush/exception.rb
semrush-3.0.5 lib/semrush/exception.rb