exceptions library

Exceptions / Errors

BadRequestException
Exception when the request is invalid.
FetchDataException
Exception thrown when a document is not found.
InvalidReferenceException
Exception when the request is forbidden.
SanityException
Base type for exceptions thrown by the Sanity client.
UnauthorizedException
Exception when the request is unauthorized and does not include a valid token in the Authorization header.