[FEATURE] Create token for error 'Permissions is not supported in your browser'
zy2ba opened this issue ยท 2 comments
zy2ba commented
๐ Feature request
Is your feature request related to a problem?
I'll need to implements some special cases for not supported browsers and now must compare error with magic string for detect this situation
Describe the solution you'd like
Create token for 'Permissions is not supported in your browser' error and export them for compare with really throwed error
waterplea commented
There is already a token for support, isn't it sufficient?
https://github.com/ng-web-apis/permissions#tokens
zy2ba commented
I've mean token for error message. At now lib throwing magic string if support check failed.
But, if I check permission availability first, I never get this error. Really, this closes my case. Thanks for the quick response