FMIceLinkError Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMIceLinkError.h FMIceLinkError.m |
– description
Returns the string representation of this [error](#//api/name/error).
@return
- (NSString *)description
Discussion
Returns the string representation of this [error](#//api/name/error).
@return
Declared In
FMIceLinkError.h
– errorCode
Gets the [error](#//api/name/error) code.
- (FMIceLinkErrorCode)errorCode
Discussion
Gets the [error](#//api/name/error) code.
Declared In
FMIceLinkError.h
+ errorWithErrorCode:exception:
Initializes a new instance of the FMIceLinkError class.
+ (FMIceLinkError *)errorWithErrorCode:(FMIceLinkErrorCode)errorCode exception:(NSException *)exception
Discussion
Initializes a new instance of the FMIceLinkError class.
Declared In
FMIceLinkError.h
– exception
Gets the exception.
- (NSException *)exception
Discussion
Gets the exception.
Declared In
FMIceLinkError.h
+ fromJsonWithErrorJson:
Deserializes an instance from JSON.
+ (FMIceLinkError *)fromJsonWithErrorJson:(NSString *)errorJson
Parameters
errorJson |
The JSON to deserialize. |
---|
Return Value
The deserialized error.
Discussion
Deserializes an instance from JSON.
Declared In
FMIceLinkError.h
– getDescription
Gets the [description](#//api/name/description) for this FMIceLinkError.
- (NSString *)getDescription
Discussion
Gets the [description](#//api/name/description) for this FMIceLinkError.
Declared In
FMIceLinkError.h
– initWithErrorCode:exception:
Initializes a new instance of the FMIceLinkError class.
- (instancetype)initWithErrorCode:(FMIceLinkErrorCode)errorCode exception:(NSException *)exception
Discussion
Initializes a new instance of the FMIceLinkError class.
Declared In
FMIceLinkError.h
– setErrorCode:
Sets the [error](#//api/name/error) code.
- (void)setErrorCode:(FMIceLinkErrorCode)value
Discussion
Sets the [error](#//api/name/error) code.
Declared In
FMIceLinkError.h
– setException:
Sets the [exception](#//api/name/exception).
- (void)setException:(NSException *)value
Discussion
Sets the [exception](#//api/name/exception).
Declared In
FMIceLinkError.h
– toJson
Serializes this instance to JSON.
@return The serialized JSON.
- (NSString *)toJson
Discussion
Serializes this instance to JSON.
@return The serialized JSON.
Declared In
FMIceLinkError.h
+ toJsonWithError:
Serializes an instance to JSON.
+ (NSString *)toJsonWithError:(FMIceLinkError *)error
Parameters
error |
The error. @return The serialized JSON. |
---|
Discussion
Serializes an instance to JSON.
Declared In
FMIceLinkError.h