Exception when a server error is encountered (5xx codes)
Expanded class hierarchy of ServerErrorResponseException
class ServerErrorResponseException extends BadResponseException {
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BadResponseException:: |
private | property | ||
RequestException:: |
protected | property | ||
BadResponseException:: |
public static | function | Factory method to create a new response exception based on the response code. | |
RequestException:: |
public | function | Get the request that caused the exception | |
BadResponseException:: |
public | function | Get the response that caused the exception | |
RequestException:: |
public | function | Set the request that caused the exception | |
BadResponseException:: |
public | function | Set the response that caused the exception |