Firebase does not currently produce developer consumption errors (with the exception of exceptions that occur for bad inputs). Firebase operations currently guarantee success or never fire events. In the event of network connectivity issues, Firebase simply does not fire events. This is the expected behavior, as Firebase is designed to work offline, and it will automatically lead you to speed after reconnecting.
Please note that in the future we will throw errors for security breaches and possibly other types of errors. An API to detect and handle these errors has not yet been written.
Andrew Lee
source share