Sha256: bcca9e2b17548e8866b01c5d5c24b14987a7d14b3b5e66280b458f02b2b28f0b

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

module Yrpc
  module Error
    class ResponseError < StandardError
      attr_reader :code

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ampedxx-yrpc-0.1.6 lib/yrpc/error/response_error.rb
ampedxx-yrpc-0.1.4 lib/yrpc/error/response_error.rb