Add default impl for voicegatewayerror
This commit is contained in:
parent
f19a2eaf21
commit
d3ab5928eb
|
@ -91,9 +91,10 @@ custom_error! {
|
|||
/// Similar to [GatewayError].
|
||||
///
|
||||
/// See https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice;
|
||||
#[derive(Clone, PartialEq, Eq)]
|
||||
#[derive(Clone, Default, PartialEq, Eq)]
|
||||
pub VoiceGatewayError
|
||||
// Errors we receive
|
||||
#[default]
|
||||
UnknownOpcode = "You sent an invalid opcode",
|
||||
FailedToDecodePayload = "You sent an invalid payload in your identifying to the (Webrtc) Gateway",
|
||||
NotAuthenticated = "You sent a payload before identifying with the (Webrtc) Gateway",
|
||||
|
|
Loading…
Reference in New Issue