zdk.objc
ZDKExtendedError.h
1//
2// ZDKExtendedError.h
3// ZDK
4//
5
6#ifndef ZDKExtendedError_h
7#define ZDKExtendedError_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKProtocolType.h"
11#import "ZDKLayerType.h"
12#import "ZDKZHandle.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
17
22@property(nonatomic, readonly) int id;
23
30@property(nonatomic, readonly) int q931Code;
31
38@property(nonatomic, readonly) ZDKProtocolType proto;
39
46@property(nonatomic, readonly) ZDKLayerType layer;
47
52@property(nonatomic, readonly) int layerCode;
53
58@property(nonatomic, readonly) NSString* message;
59
60-(NSString*)handlesDescription;
61
62@end
63
64NS_ASSUME_NONNULL_END
65
66#endif
Definition: ZDKExtendedError.h:16
ZDKLayerType layer
Gets the extended error layer type.
Definition: ZDKExtendedError.h:46
ZDKProtocolType proto
Gets the extended error protocol type.
Definition: ZDKExtendedError.h:38
NSString * message
Gets the extended error message.
Definition: ZDKExtendedError.h:58
int layerCode
Gets the extended error layer code.
Definition: ZDKExtendedError.h:52
int q931Code
Gets Q.931 code.
Definition: ZDKExtendedError.h:30
Definition: ZDKZHandle.h:13