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
The current explainer rejects the promise in several non-exceptional situations. You can tell, because instead of using Error objects for those cases, it instead using strings.
This is contrary to how promises generally work on the web platform. See:
Instead the API should fulfill in non-exceptional cases, including completed/deferred/disallowed, and only reject in the error case. Perhaps it could fulfill with something like { status: "completed" } or { status: "handed-off", catalog: "https://play.google.com/" }
The text was updated successfully, but these errors were encountered:
The current explainer rejects the promise in several non-exceptional situations. You can tell, because instead of using
Error
objects for those cases, it instead using strings.This is contrary to how promises generally work on the web platform. See:
Instead the API should fulfill in non-exceptional cases, including completed/deferred/disallowed, and only reject in the error case. Perhaps it could fulfill with something like
{ status: "completed" }
or{ status: "handed-off", catalog: "https://play.google.com/" }
The text was updated successfully, but these errors were encountered: