Sha256: 491a049fb0f4dd5a2649aae2ed4c26e23b01401551cd3adc6e5171b1d32ddeb8

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module Shutterstock
  class Error < StandardError
  end

  class IncorrectArguments < Error
  end

  class AppNotConfigured < Error
  end

  class FailedResponse < Error
    attr_reader :code
    alias :msg :message
    def initialize(msg, code = 0)
      @code = code
      super(msg)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shutterstock-v2-0.0.1 lib/client/error.rb