An abstract class representing some exception that occurred related to the Data API. This is the base class for all
Data API errors, and will never be thrown directly.
This is mainly useful for instanceof checks in catch blocks.
⚠️Note: While HTTP errors and timeouts may be represented by subclasses of this type, certain errors, such as connection errors, TypeErrors, etc. may be thrown by the underlying code directly.
Overview
An abstract class representing some exception that occurred related to the Data API. This is the base class for all Data API errors, and will never be thrown directly.
This is mainly useful for
instanceof
checks incatch
blocks.