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.
Useful for instanceof checks.
This is only for Data API related errors, such as a non-existent collection, or a duplicate key error. It
is not, however, for errors such as an HTTP network error, or a malformed request. The exception being timeouts,
which are represented by the DataAPITimeoutError class.
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.
Useful for
instanceof
checks.This is only for Data API related errors, such as a non-existent collection, or a duplicate key error. It is not, however, for errors such as an HTTP network error, or a malformed request. The exception being timeouts, which are represented by the DataAPITimeoutError class.