discord-rpc-java
discord-rpc-java copied to clipboard
Better error code handling
https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/ErrorCode.java https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/impl/RpcConnection.java#L193 https://github.com/PSNRigner/discord-rpc-java/blob/master/src/main/java/net/rigner/discordrpc/DiscordRpc.java#L328
Implement more error codes, with the use of an id instead of using the values array.
I'll work on this soon, whenever I get time.
It looks like this issue is outdated atm. Is there any ongoing work @Notoh?
And, due to the fact, that SUCCESS
is not really an error code, I would recommend to change the name to ResponseCode.
No work currently being done considering I've been extremely busy with exams and other projects, sorry about that.
@PSNRigner close or modify?