Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch an error - icon not found #68

Open
anetka31 opened this issue Jul 1, 2020 · 0 comments
Open

Catch an error - icon not found #68

anetka31 opened this issue Jul 1, 2020 · 0 comments

Comments

@anetka31
Copy link

anetka31 commented Jul 1, 2020

Describe the bug
Error if someone gives the wrong icon name.

Expected behavior
Is it possible to catch an error if someone gives the wrong icon name?
Now in this case the whole application fail and returns an error. Is it possible to display the default icon in the event of an error or or catch the error?

Additional context
In my application the icon is set in the backend by an administrator in a different environment,
so it may happen that someone chooses an icon which is not in this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant