Sha256: 49400442229db514ec48cf9654eeb7ed6c4e9cb9fc7aaadd720ef7dc35b1d120

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

module Scrivito

  class ClientError < StandardError
    attr_reader :http_code

    def initialize(message, http_code)
      @http_code = http_code
      super(message)
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scrivito_sdk-0.18.1 lib/scrivito/client_error.rb
scrivito_sdk-0.18.0 lib/scrivito/client_error.rb
scrivito_sdk-0.17.0 lib/scrivito/client_error.rb
scrivito_sdk-0.16.0 lib/scrivito/client_error.rb
scrivito_sdk-0.15.0 lib/scrivito/client_error.rb
scrivito_sdk-0.14.0 lib/scrivito/client_error.rb
scrivito_sdk-0.13.0 lib/scrivito/client_error.rb
scrivito_sdk-0.12.0 lib/scrivito/client_error.rb