Sha256: 428aadca0d8bce9fe1dc7d3c3d4c58b2f902475a683db55c1971eae49ac61636

Contents?: true

Size: 156 Bytes

Versions: 20

Compression:

Stored size: 156 Bytes

Contents

module JRPC
  class ServerError < Error
    attr_reader :code

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

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
jrpc-1.1.8 lib/jrpc/error/server_error.rb
jrpc-1.1.7 lib/jrpc/error/server_error.rb
jrpc-1.1.6 lib/jrpc/error/server_error.rb
jrpc-1.1.5 lib/jrpc/error/server_error.rb
jrpc-1.1.4 lib/jrpc/error/server_error.rb
jrpc-1.1.3 lib/jrpc/error/server_error.rb
jrpc-1.1.2 lib/jrpc/error/server_error.rb
jrpc-1.1.1 lib/jrpc/error/server_error.rb
jrpc-1.1.0 lib/jrpc/error/server_error.rb
jrpc-1.0.1 lib/jrpc/error/server_error.rb
jrpc-1.0.0 lib/jrpc/error/server_error.rb
jrpc-0.4.6 lib/jrpc/error/server_error.rb
jrpc-0.4.5 lib/jrpc/error/server_error.rb
jrpc-0.4.4 lib/jrpc/error/server_error.rb
jrpc-0.4.3 lib/jrpc/error/server_error.rb
jrpc-0.4.2 lib/jrpc/error/server_error.rb
jrpc-0.4.1 lib/jrpc/error/server_error.rb
jrpc-0.4.0 lib/jrpc/error/server_error.rb
jrpc-0.3.0 lib/jrpc/error/server_error.rb
jrpc-0.2.0 lib/jrpc/error/server_error.rb