mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
483 B
C
17 lines
483 B
C
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
extern NSString *const OWSSignalServiceKitErrorDomain;
|
|
|
|
typedef NS_ENUM(NSInteger, OWSErrorCode) {
|
|
OWSErrorCodeInvalidMethodParameters = 11,
|
|
OWSErrorCodeUnableToProcessServerResponse = 12,
|
|
OWSErrorCodeFailedToDecodeJson = 13,
|
|
OWSErrorCodeFailedToEncodeJson = 14
|
|
};
|
|
|
|
extern NSError *OWSErrorWithCodeDescription(OWSErrorCode code, NSString *description);
|
|
|
|
NS_ASSUME_NONNULL_END
|