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.
@property (readonly, nullable) NSString* source;
@property (readonly) BOOL isRetriable
DEPRECATED_MSG_ATTRIBUTE("Removed in 3.0 with no replacement.");
/// Best-effort seconds to wait before retrying.
@property (readonly, nullable) NSNumber* retryAfter
DEPRECATED_MSG_ATTRIBUTE("Removed in 3.0 with no replacement.");
- (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 } -
Deprecated
Removed in 3.0 with no replacement.
Undocumented
Declaration
Objective-C
@property (readonly) BOOL isRetriableSwift
var isRetriable: Bool { get } -
Deprecated
Removed in 3.0 with no replacement.
Best-effort seconds to wait before retrying.
Declaration
Objective-C
@property (readonly, nullable) NSNumber *retryAfter;Swift
var retryAfter: NSNumber? { get } -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init __attribute__((unavailable));
Install in Dash