Flutter Engine
FlutterError Class Reference

#import <FlutterCodecs.h>

Inheritance diagram for FlutterError:

Class Methods

(instancetype) + errorWithCode:message:details:
 

Properties

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.

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

Referenced by FlutterStandardMethodCodec::codecWithReaderWriter:.

Property Documentation

◆ code

- (NSString*) code
readnonatomicassign

◆ details

- (id) details
readnonatomicassign

◆ message

- (NSString*) message
readnonatomicassign

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