VGError
Objective-C
@interface VGError : NSError
@property (readonly) VGErrorType type;
@property (readonly, nullable) NSString* errorCode;
@property (readonly, nullable) NSString* message;
// Diagnostics surfaced from the core VonageError so iOS customers can read them. `source` is the
// versioned breadcrumb pinning the failing code path; `retryAfter` is best-effort seconds to wait
// before retrying.
@property (readonly, nullable) NSString* source;
@property (readonly) BOOL isRetriable;
@property (readonly, nullable) NSNumber* retryAfter;
- (instancetype)init __attribute__((unavailable));
@end
Swift
class VGError : NSError
Undocumented
-
Undocumented
-
Undocumented
Declaration
Objective-C
@property (readonly, nullable) NSString* errorCodeSwift
var errorCode: String? { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nullable) NSString* messageSwift
var message: String? { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nullable) NSString* sourceSwift
var source: String? { get } -
Undocumented
Declaration
Objective-C
@property (readonly) BOOL isRetriableSwift
var isRetriable: Bool { get } -
Undocumented
Declaration
Objective-C
@property (readonly, nullable) NSNumber* retryAfterSwift
var retryAfter: NSNumber? { get } -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init __attribute__((unavailable));
Install in Dash