Show / Hide Table of Contents

    Class JsonRpcErrorCodes

    Standard JSON-RPC error codes and ranges as defined by the RFC.
    Inheritance
    Object
    GenericEnum<Int32, JsonRpcErrorCodes>
    JsonRpcErrorCodes
    Implements
    IComparable
    System.IComparable<JsonRpcErrorCodes>
    System.Collections.Generic.IComparer<JsonRpcErrorCodes>
    System.IEquatable<JsonRpcErrorCodes>
    Inherited Members
    GenericEnum<Int32, JsonRpcErrorCodes>.Parse(String)
    GenericEnum<Int32, JsonRpcErrorCodes>.Equals(Object)
    GenericEnum<Int32, JsonRpcErrorCodes>.GetHashCode()
    GenericEnum<Int32, JsonRpcErrorCodes>.ToString()
    GenericEnum<Int32, JsonRpcErrorCodes>.TryConvert(Int32, JsonRpcErrorCodes)
    GenericEnum<Int32, JsonRpcErrorCodes>.CompareTo(Object)
    GenericEnum<Int32, JsonRpcErrorCodes>.CompareTo(JsonRpcErrorCodes)
    GenericEnum<Int32, JsonRpcErrorCodes>.Compare(JsonRpcErrorCodes, JsonRpcErrorCodes)
    GenericEnum<Int32, JsonRpcErrorCodes>.Equals(JsonRpcErrorCodes)
    GenericEnum<Int32, JsonRpcErrorCodes>.Value
    GenericEnum<Int32, JsonRpcErrorCodes>.Description
    GenericEnum<Int32, JsonRpcErrorCodes>.Name
    GenericEnum<Int32, JsonRpcErrorCodes>.Values
    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.

    See Also

    JSON-RPC 2.0 Specification: Error Object
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.