Labelbox error handling
Labelbox exception types are declared in the
labelbox.exceptions package. Following is a list of exception types and their meanings.
Base class for all Labelbox exception classes.
Attempting to perform an operation you don't have permission for.
Looking up a specific object based on it's ID, and that object is not found in the database (either due to an invalid ID or the object was deleted).
Query failed validation, for example due to too large estimated query cost. Should only be possible when executing a custom GraphQL query using
Malconstructed or unsupported GraphQL query, either due to bad syntax or semantics (i.e. invalid field names). Should only be possible when executing a custom GraphQL query using
A networking error during query execution.
The server is taking too long to respond to a query.
Using an invalid attribute when creating, updating, filtering or sorting objects. It's possible that in some of these situations a ValidationFailedError gets raised instead.
Too many requests made in a brief period of time.