DiscordVoiceError

public enum DiscordVoiceError : Error

Represents an error that can occur during voice operations.

  • Thrown when a failure occurs creating an encoder.

    Declaration

    Swift

    case creationFail
  • Thrown when a failure occurs encoding.

    Declaration

    Swift

    case encodeFail
  • Thrown when a decode failure occurs.

    Declaration

    Swift

    case decodeFail
  • Thrown when the first packet is received.

    Declaration

    Swift

    case initialPacket