Flutter iOS Embedder
FlutterError Class Reference

#import <FlutterCodecs.h>

Inheritance diagram for FlutterError:

Class Methods

(instancetype) + errorWithCode:message:details:


NSString * code
NSString * message
id details

Detailed Description

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.

Method Documentation

◆ errorWithCode:message:details:

+ (instancetype) errorWithCode: (NSString *)  code
message: (NSString *_Nullable)  message
details: (id _Nullable)  details 

Creates a FlutterError with the specified error code, message, and details.

codeAn error code string for programmatic use.
messageA human-readable error message.
detailsCustom error details.

Referenced by TEST().

Property Documentation

◆ code

- (NSString*) code

The error code.

Definition at line 260 of file FlutterCodecs.h.

◆ details

- (id) details

The error details.

Definition at line 270 of file FlutterCodecs.h.

◆ message

- (NSString*) message

The error message.

Definition at line 265 of file FlutterCodecs.h.

The documentation for this class was generated from the following file: