ErrFriendAdd
Description:
public enum ErrFriendAdd
Content:
Enum values:
- ALREADY_SENT - A friend request
has already been sent, or the address belongs to a friend that is already on the friend list.
- BAD_CHECKSUM - The friend address
checksum failed.
- MALLOC - A memory allocation failed
when trying to increase the friend list size.
- NO_MESSAGE - The friend request
message was empty. This, and the TOO_LONG code will never be returned from
Tox.friend_add_norequest.
- NULL - One of the arguments to the
function was NULL when it was not expected.
- OK - The function returned successfully.
- OWN_KEY - The friend address belongs
to the sending client.
- SET_NEW_NOSPAM - The friend was
already there, but the nospam value was different.
- TOO_LONG - The length of the friend
request message exceeded MAX_FRIEND_REQUEST_LENGTH.