You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please fill out the below template as best you can.
Description of Issue
Add meaningful error when Provider is not Initialized and a event is triggered or listener is added/called. For example, if Prover.trigger is called when the Provider has not been initialized, it attempts to access this.application which is created upon Provider.init(). If the Provider has not been initialized, it throws the error
Error: Cannot read property 'trigger' of undefined
at Provider.trigger
This is error does not make it immediately obvious that the issue is related to the Provider initialization.
Steps to Reproduce the Issue
Setup an application which called Provider.trigger() without initializing the provider
See error in the console
Expected Outcomes
Throw Error message saying something like "Cannot handle/perform because the Provider has not been initialized"
The text was updated successfully, but these errors were encountered:
Please fill out the below template as best you can.
Description of Issue
Add meaningful error when Provider is not Initialized and a event is triggered or listener is added/called. For example, if
Prover.trigger
is called when the Provider has not been initialized, it attempts to accessthis.application
which is created uponProvider.init()
. If the Provider has not been initialized, it throws the errorThis is error does not make it immediately obvious that the issue is related to the Provider initialization.
Steps to Reproduce the Issue
Provider.trigger()
without initializing the providerExpected Outcomes
The text was updated successfully, but these errors were encountered: