#import <FlutterCodecs.h>
Class Methods | |
(instancetype) | + errorWithCode:message:details: |
Properties | |
NSString * | code |
NSString * | message |
id | details |
Error object representing an unsuccessful outcome of invoking a method on a FlutterMethodChannel
, or an error event on a FlutterEventChannel
.
Definition at line 246 of file FlutterCodecs.h.
+ (instancetype) errorWithCode: | (NSString *) | code | |
message: | (NSString *_Nullable) | message | |
details: | (id _Nullable) | details | |
Creates a FlutterError
with the specified error code, message, and details.
code | An error code string for programmatic use. |
message | A human-readable error message. |
details | Custom error details. |
Referenced by TEST(), and flutter::testing::TEST_F().
|
readnonatomicassign |
The error code.
Definition at line 260 of file FlutterCodecs.h.
|
readnonatomicassign |
The error details.
Definition at line 270 of file FlutterCodecs.h.
|
readnonatomicassign |
The error message.
Definition at line 265 of file FlutterCodecs.h.