Value | Meaning |
---|---|
MG_SUCCESS0 | Success code. |
MG_ERROR_SEND_FAILED-1 | Failed to send data to server. |
MG_ERROR_RECV_FAILED-2 | Failed to receive data from server. |
MG_ERROR_OOM-3 | Out of memory. |
MG_ERROR_CONTAINER_FULL-4 | Trying to insert more values in a full container. |
MG_ERROR_INVALID_VALUE-5 | Invalid value type was given as a function argument. |
MG_ERROR_DECODING_FAILED-6 | Failed to decode data returned from server. |
MG_ERROR_DUPLICATE_KEY-7 | Trying to insert a duplicate key in map. |
MG_ERROR_NETWORK_FAILURE-8 | An error occurred while trying to connect to server. |
MG_ERROR_BAD_PARAMETER-9 | Invalid parameter supplied to mg_connect. |
MG_ERROR_PROTOCOL_VIOLATION-10 | Server violated the Bolt protocol by sending an invalid message type or invalid value. |
MG_ERROR_CLIENT_ERROR-11 | Server sent a FAILURE message containing ClientError code. |
MG_ERROR_TRANSIENT_ERROR-12 | Server sent a FAILURE message containing TransientError code. |
MG_ERROR_DATABASE_ERROR-13 | Server sent a FAILURE message containing DatabaseError code. |
MG_ERROR_UNKNOWN_ERROR-14 | Got an unknown error message from server. |
MG_ERROR_BAD_CALL-15 | Invalid usage of the library. |
MG_ERROR_SIZE_EXCEEDED-16 | Maximum container size allowed by Bolt exceeded. |
MG_ERROR_SSL_ERROR-17 | An error occurred during SSL connection negotiation. |
MG_ERROR_TRUST_CALLBACK-18 | User provided trust callback returned a non-zeron value after SSL connection negotiation. |
MG_ERROR_SOCKET-100 | Unable to initialize the socket (both create and connect). |
MG_ERROR_UNIMPLEMENTED-1000 | Function unimplemented. |
Return codes used by mgclient functions.