Skip to content

[webview] Add toString for Dart NSError mirror #128596

@stuartmorgan-g

Description

@stuartmorgan-g

We bundle Dart NSError objects as details of platform exceptions for some failures, but they don't print anything useful; see #128489 for an example. (We also don't export them AFAICT, so there's no way I can see for a client to get the information from it).

We should add a toString that prints all of its information, so that exception logging will be more useful.

@bparrishMines FYI

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions