Exceptions module

This module contains all constants in use by the TIPCommon package and common constants used in Google Security Operations SOAR marketplace integrations.

Example:

from TIPCommon.exceptions import ConnectorProcessingError
raise ConnectorProcessingError('spam and eggs')

exception TIPCommon.exceptions.ActionSetupError

Bases: GeneralActionException

Action initialization error.

exception TIPCommon.exceptions.AlreadyExistsError

Bases: GoogleCloudPubSubException

A Pub/Sub resource already exists.

exception TIPCommon.exceptions.BadGatewayError

Bases: GoogleCloudPubSubException

A server between the client and the backend Pub/Sub servers detected a temporary issue.

exception TIPCommon.exceptions.CaseResultError

Bases: GeneralActionException

Error when sending data to the case result.

exception TIPCommon.exceptions.ConnectorContextError

Bases: GeneralConnectorException`

Connector context error.

exception TIPCommon.exceptions.ConnectorProcessingError

Bases: GeneralConnectorException

Connector processing error.

exception TIPCommon.exceptions.ConnectorSetupError

Bases: GeneralConnectorException

Connector initialization error.

exception TIPCommon.exceptions.ConnectorValidationError

Bases: GeneralConnectorException

Connector validation error.

exception TIPCommon.exceptions.DeadlineExceededError

Bases: GoogleCloudPubSubException

The request did not complete in the time allocated.

exception TIPCommon.exceptions.EnrichActionError

Bases: GeneralActionException

Enrichment action error.

exception TIPCommon.exceptions.GeneralActionException

Bases: Exception

General action exception.

exception TIPCommon.exceptions.GeneralConnectorException

Bases: Exception

General connector exception.

exception TIPCommon.exceptions.GeneralJobException

Bases: Exception

General job exception.

exception TIPCommon.exceptions.GoogleCloudPubSubException

Bases: Exception

General Google Cloud Pub/Sub exception.

exception TIPCommon.exceptions.InternalJSONDecoderError

Bases: Exception

Internal JSON parsing error using json.load/dump. Message only.

exception TIPCommon.exceptions.InvalidArgumentError

Bases: GoogleCloudPubSubException

Invalid request to the Pub/Sub resource.

exception TIPCommon.exceptions.JobSetupError

Bases: GeneralActionException

Job initialization error.

exception TIPCommon.exceptions.NotFoundError

Bases: GoogleCloudPubSubException

Pub/Sub resource not found.

exception TIPCommon.exceptions.ParameterExtractionError

Bases: Exception

Parameter extraction error.

exception TIPCommon.exceptions.ParameterValidationError

Bases: Exception

Invalid parameter.

exception TIPCommon.exceptions.PermissionDeniedError

Bases: GoogleCloudPubSubExceptio

The client does not have permission to perform the operation on the resource.

exception TIPCommon.exceptions.ResourceExhaustedError

Bases: GoogleCloudPubSubException

Quota for the Google Cloud project exceeded or too many concurrent requests from the client.

exception TIPCommon.exceptions.SDKWrapperError

Bases: GeneralActionException

SDK method wrapper error.

exception TIPCommon.exceptions.UnauthenticatedError

Bases: GoogleCloudPubSubException

Client authentication error.

exception TIPCommon.exceptions.UnavailableError

Bases: GoogleCloudPubSubException

The Pub/Sub service was unable to process a request.