Skip to content

Handle errors #13

@gabrielbmoro

Description

@gabrielbmoro

Two error scenarios that comes to my mind:

  • SVG broken (invalid format);
  • Something went wrong when an image is loaded (take a look at the addRoundedImage command).

We can use a slot pattern to provide to the developer add a composable function to represent the error. When any error happens, we show this errorContent over the svg map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions