Exceptions
Typed exception classes used throughout the library. Domain-specific exceptions (Sheets, Slides, Admin SDK, network) extend a common Exception base class for consistent error handling.
A New marker indicates a function added in the latest release; a Deprecated marker indicates a function scheduled for removal in a future release.
Service-specific exceptions
Exception | Description |
|---|---|
Represents an exception thrown when the Admin SDK Directory Service is not available or enabled. | |
Represents an exception thrown when an invalid | |
Represents an exception thrown when an invalid | |
Represents an exception thrown when an invalid | |
Represents an exception thrown when an invalid | |
Represents an exception thrown when an invalid | |
Represents an exception thrown when a |
Core exceptions
Exception | Description |
|---|---|
Base class for all custom exceptions. | |
Exception thrown during application execution. | |
Exception thrown during authentication failures. | |
Exception thrown when the current user is known but is not permitted to perform the action. | |
Exception thrown when a non-empty string is required but an empty one is provided. | |
Exception thrown when an invalid or inappropriate argument is passed to a method. | |
Exception thrown when a method is invoked at an illegal or inappropriate time. | |
Exception thrown when an email address does not follow the expected format. | |
Exception thrown when a string is expected but another type is received. | |
Exception thrown when | |
Exception thrown when a repository is not defined. | |
Exception thrown when a service is not defined. |
This documentation was generated with AI (Claude) from the library's source code.