FMIceLinkStunError Class Reference
| Inherits from | FMIceLinkError : NSObject | 
|---|---|
| Declared in | FMIceLinkStunError.h FMIceLinkStunError.m  | 
Overview
Common functionality of various STUN/TURN server exceptions that occur while processing Allocation and Binding requests.
					+ createStunErrorWithErrorCode:message:
	
Creates error for the given error code and with a given [message](#//api/name/message).
			+ (FMIceLinkError *)createStunErrorWithErrorCode:(int)errorCode message:(FMIceLinkStunMessage *)messageParameters
errorCode | 
						Stun error code  | 
					
|---|---|
message | 
						Error message  | 
					
Discussion
Creates error for the given error code and with a given [message](#//api/name/message).
			Declared In
FMIceLinkStunError.h
+ errorWithErrorCode:message:
	
Initializes a new instance of the FMIceLinkStunError class.
			+ (FMIceLinkStunError *)errorWithErrorCode:(FMIceLinkErrorCode)errorCode message:(NSString *)messageParameters
errorCode | 
						The error code.  | 
					
|---|---|
message | 
						The error message.  | 
					
Discussion
Initializes a new instance of the FMIceLinkStunError class.
			Declared In
FMIceLinkStunError.h
– initWithErrorCode:message:
	
Initializes a new instance of the FMIceLinkStunError class.
			- (instancetype)initWithErrorCode:(FMIceLinkErrorCode)errorCode message:(NSString *)messageParameters
errorCode | 
						The error code.  | 
					
|---|---|
message | 
						The error message.  | 
					
Discussion
Initializes a new instance of the FMIceLinkStunError class.
			Declared In
FMIceLinkStunError.h
– message
	
Gets the message associated with this error
			- (NSString *)messageDiscussion
Gets the message associated with this error
			Declared In
FMIceLinkStunError.h
– setMessage:
	
Sets the [message](#//api/name/message) associated with this error
			- (void)setMessage:(NSString *)valueDiscussion
Sets the [message](#//api/name/message) associated with this error
			Declared In
FMIceLinkStunError.h
– stunErrorCode
	
Gets this error's code
			- (int)stunErrorCodeDiscussion
Gets this error's code
			Declared In
FMIceLinkStunError.h