class Discord::StatusException
 
  - Discord::StatusException
- Exception
- Reference
- Object
Overview
This exception is raised in REST#request when a request fails in general,
without returning a special error response.
Direct Known Subclasses
Defined in:
discordcr/errors.crConstructors
Instance Method Summary
- #message
- #response : HTTP::Client::Response
- 
        #status_code : Int32
        
          The status code of the response that caused this exception, for example 500 or 418. 
- 
        #status_message : String
        
          The status message of the response that caused this exception, for example "Internal Server Error" or "I'm A Teapot". 
- #to_s(io)
Constructor Detail
Instance Method Detail
        
        def status_code : Int32
        #
      
      
        The status code of the response that caused this exception, for example 500 or 418.
        
        def status_message : String
        #
      
      
        The status message of the response that caused this exception, for example "Internal Server Error" or "I'm A Teapot".