Rejects an overlay's promise with the given error and removes it from the store. Returns true if
the overlay was found and settled, false if not found.
Parameters
id: string
The id of the overlay to reject and remove
error: PlatformError
The error to reject the overlay's promise with
Returns boolean
True if the overlay was found and rejected, false if not found
Rejects an overlay's promise with the given error and removes it from the store. Returns true if the overlay was found and settled, false if not found.