ObjFW
|
An exception indicating that a HTTP request failed. More...
#import <OFHTTPRequestFailedException.h>
Public Member Functions | |
(id) | - initWithClass:HTTPRequest:result: |
(OFHTTPRequest *) | - HTTPRequest |
(OFHTTPRequestResult *) | - result |
Static Public Member Functions | |
(id) | + exceptionWithClass:HTTPRequest:result: |
An exception indicating that a HTTP request failed.
+ (id) exceptionWithClass: | (Class) | class_ | |
HTTPRequest: | (OFHTTPRequest*) | request | |
result: | (OFHTTPRequestResult*) | result | |
class_ | The class of the object which caused the exception |
request | The HTTP request which failed |
result | The result of the failed HTTP request |
- (OFHTTPRequest*) HTTPRequest |
- (id) initWithClass: | (Class) | class_ | |
HTTPRequest: | (OFHTTPRequest*) | request | |
result: | (OFHTTPRequestResult*) | result | |
Initializes an already allocated HTTP request failed exception
class_ | The class of the object which caused the exception |
request | The HTTP request which failed |
result | The result of the failed HTTP request |
- (OFHTTPRequestResult*) result |