Class JsonRpcErrorCodes
Standard JSON-RPC error codes and ranges as defined by the RFC.
Implements
System.IComparable<JsonRpcErrorCodes>
System.Collections.Generic.IComparer<JsonRpcErrorCodes>
System.IEquatable<JsonRpcErrorCodes>
Inherited Members
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public class JsonRpcErrorCodes : GenericEnum<int, JsonRpcErrorCodes>, IComparable, IComparable<JsonRpcErrorCodes>, IComparer<JsonRpcErrorCodes>, IEquatable<JsonRpcErrorCodes>
Constructors
Name | Description |
---|---|
JsonRpcErrorCodes(Int32) |
Fields
Name | Description |
---|---|
InternalError | Internal JSON-RPC error code. |
InvalidParameters | Error code returned by the server if the method parameter(s) are invalid. |
InvalidRequest | Error code returned by the server if the JSON sent is not a valid request object. |
MethodNotFound | Error code returned by the server if the method does not exist or is not available. |
ParseError | Error code returned by the server if invalid JSON was received or an error occurred while parsing the JSON payload. |
ServerErrorRangeMax | Upper limit of the range of error codes that are reserved for implementation-defined server-errors. |
ServerErrorRangeMin | Lower limit of the range of error codes that are reserved for implementation-defined server-errors. |
Methods
Name | Description |
---|---|
IsServerError(Int32) | Determines whether a given error code is from the implementation-defined server-errors range. |