| Flutter iOS Embedder |

Class Methods | Properties | List of all members
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

  code | An error code string for programmatic use.
  message | A human-readable error message.
  details | Custom error details.

Referenced by TEST().

## Property Documentation

## ◆ code

- (NSString*) code
| readnonatomicassign

The error code.

Definition at line 260 of file FlutterCodecs.h.

## ◆ details

- (id) details
| readnonatomicassign

The error details.

Definition at line 270 of file FlutterCodecs.h.

## ◆ message

- (NSString*) message
| readnonatomicassign

The error message.

Definition at line 265 of file FlutterCodecs.h.

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

- shell/platform/darwin/common/framework/Headers/FlutterCodecs.h