Class DiscordErrored


  • public final class DiscordErrored
    extends java.lang.Object
    Called when an internal error is caught within the SDK
    • Constructor Summary

      Constructors 
      Constructor Description
      DiscordErrored​(int errorCode, java.lang.String message)  
    • Constructor Detail

      • DiscordErrored

        public DiscordErrored​(int errorCode,
                              java.lang.String message)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Discord error code.
      • getMessage

        public java.lang.String getMessage()
        Error message
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object