Sha256: e338181271a755c2d37f121f50e418e6a8c69072eeac1a6b7ba80ff331bd8eb5

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module RubyIsds
  class Error < StandardError; end

  class ConfigNotSet < Error
    def initialize(param)
      msg = "Please check if you set #{param}, seems it is missing."
      super(msg)
    end
  end

  class HtmlResponseReceived < Error
    def initialize(param)
      msg = 'Please check if you set credentials correctly, '\
        "seems like a typo or something:\n #{param}"
      super(msg)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_isds-0.13.0 lib/ruby_isds/utils/errors.rb