discord-rpc-java icon indicating copy to clipboard operation
discord-rpc-java copied to clipboard

Better error code handling

Open Rigner opened this issue 7 years ago • 4 comments

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.

Rigner avatar Nov 14 '17 16:11 Rigner

I'll work on this soon, whenever I get time.

Notoh avatar Nov 21 '17 16:11 Notoh

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.

SirYwell avatar Jan 15 '18 11:01 SirYwell

No work currently being done considering I've been extremely busy with exams and other projects, sorry about that.

Notoh avatar Jan 15 '18 19:01 Notoh

@PSNRigner close or modify?

techied avatar Apr 06 '18 02:04 techied