Sha256: 53061e9adf2b08c14542d0baddec6e2b141b2d5708c9a3c1cc8d415caf93e268

Contents?: true

Size: 487 Bytes

Versions: 10

Compression:

Stored size: 487 Bytes

Contents

# An enum of predefined error codes.
module CarrotRpc::Error::Code
  # Internal JSON-RPC error.
  INTERNAL_ERROR   = -32_603

  # Invalid method parameter(s).
  INVALID_PARAMS   = -32_602

  # The JSON sent is not a valid Request object.
  INVALID_REQUEST  = -32_600

  # The method does not exist / is not available.
  METHOD_NOT_FOUND = -32_601

  # Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
  PARSE_ERROR      = -32_700
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
carrot_rpc-1.2.1 lib/carrot_rpc/error/code.rb
carrot_rpc-1.2.0 lib/carrot_rpc/error/code.rb
carrot_rpc-1.1.0 lib/carrot_rpc/error/code.rb
carrot_rpc-1.0.0 lib/carrot_rpc/error/code.rb
carrot_rpc-0.8.0 lib/carrot_rpc/error/code.rb
carrot_rpc-0.7.1 lib/carrot_rpc/error/code.rb
carrot_rpc-0.7.0 lib/carrot_rpc/error/code.rb
carrot_rpc-0.6.0 lib/carrot_rpc/error/code.rb
carrot_rpc-0.5.1 lib/carrot_rpc/error/code.rb
carrot_rpc-0.5.0 lib/carrot_rpc/error/code.rb