16#import "OFException.h"
17#import "OFDNSResolver.h"
19OF_ASSUME_NONNULL_BEGIN
31 OFDNSResolverErrorCode _errorCode;
48@property (readonly, nonatomic) OFDNSResolverErrorCode errorCode;
59+ (instancetype)exceptionWithHost: (
OFString *)host
61 errorCode: (OFDNSResolverErrorCode)errorCode;
63+ (instancetype)exception OF_UNAVAILABLE;
74- (instancetype)initWithHost: (
OFString *)host
76 errorCode: (OFDNSResolverErrorCode)errorCode;
78- (instancetype)init OF_UNAVAILABLE;
OFSocketAddressFamily
A socket address family.
Definition OFSocket.h:103
The base class for all exceptions in ObjFW.
Definition OFException.h:151
An exception indicating that resolving a host failed.
Definition OFResolveHostFailedException.h:28
A class for handling strings.
Definition OFString.h:135