Modul Exceptions

Modul ini berisi semua konstanta yang digunakan oleh paket TIPCommon dan konstanta umum yang digunakan dalam integrasi Google Security Operations Content Hub.

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

exception TIPCommon.exceptions.ActionSetupError

Dasar: GeneralActionException

Error inisialisasi tindakan.

exception TIPCommon.exceptions.AlreadyExistsError

Dasar: GoogleCloudException

Resource Google Cloud sudah ada.

exception TIPCommon.exceptions.BadGatewayError

Dasar: GoogleCloudException

Server antara klien dan server backend Google Cloud mendeteksi masalah sementara.

exception TIPCommon.exceptions.CaseResultError

Dasar: GeneralActionException

Terjadi error saat mengirim data ke hasil kasus.

exception TIPCommon.exceptions.ConnectorContextError

Dasar: GeneralConnectorException

Error konteks konektor.

exception TIPCommon.exceptions.ConnectorProcessingError

Dasar: GeneralConnectorException

Terjadi error pemrosesan konektor.

exception TIPCommon.exceptions.ConnectorSetupError

Dasar: GeneralConnectorException

Error inisialisasi konektor.

exception TIPCommon.exceptions.ConnectorValidationError

Dasar: GeneralConnectorException

Error validasi konektor.

exception TIPCommon.exceptions.DeadlineExceededError

Dasar: GoogleCloudException

Permintaan tidak selesai dalam waktu yang dialokasikan.

exception TIPCommon.exceptions.EmptyMandatoryValues

Dasar: Exception

Pengecualian untuk nilai wajib yang kosong.

exception TIPCommon.exceptions.EnrichActionError

Dasar: GeneralActionException

Error tindakan pengayaan.

exception TIPCommon.exceptions.FailedPreconditionError

Dasar: GoogleCloudException

Error prasyarat gagal untuk permintaan Google Cloud .

exception TIPCommon.exceptions.GeneralActionException

Dasar: Exception

Pengecualian tindakan umum.

exception TIPCommon.exceptions.GeneralConnectorException

Dasar: Exception

Pengecualian konektor umum.

exception TIPCommon.exceptions.GeneralJobException

Dasar: Pengecualian

Pengecualian tugas umum.

exception TIPCommon.exceptions.GoogleCloudException

Dasar: Exception

Pengecualian Google Cloud umum.

exception TIPCommon.exceptions.ImpersonationUnauthorizedError

Dasar: GoogleCloudException

Pemanggil tidak diizinkan untuk meniru akun layanan.

exception TIPCommon.exceptions.InternalJSONDecoderError

Dasar: Exception

Terjadi error penguraian JSON internal menggunakan json.load/dump. Hanya pesan.

exception TIPCommon.exceptions.InvalidArgumentError

Dasar: GoogleCloudException

Permintaan tidak valid ke resource Google Cloud .

exception TIPCommon.exceptions.InvalidTimeException

Dasar: Exception

Pengecualian untuk waktu yang tidak valid.

exception TIPCommon.exceptions.JobSetupError

Dasar: GeneralActionException

Terjadi error inisialisasi tugas.

exception TIPCommon.exceptions.NotFoundError

Dasar: GoogleCloudPubSubException

Resource Google Cloud tidak ditemukan.

exception TIPCommon.exceptions.OauthError

Dasar: Exception

Pengecualian umum yang muncul saat terjadi error dalam alur OAuth 2.0.

exception TIPCommon.exceptions.ParameterExtractionError

Dasar: Exception

Error ekstraksi parameter.

exception TIPCommon.exceptions.ParameterValidationError

Dasar: Exception

Parameter tidak valid.

exception TIPCommon.exceptions.PermissionDeniedError

Dasar: GoogleCloudException

Klien tidak memiliki izin untuk melakukan operasi pada resource.

exception TIPCommon.exceptions.RefreshTokenRenewalJobException

Bases: GeneralJobException

Kegagalan dalam instance RefreshTokenRenewalJob.

exception TIPCommon.exceptions.ResourceExhaustedError

Dasar: GoogleCloudException

Kuota untuk project Google Cloud terlampaui, atau ada terlalu banyak permintaan serentak dari klien.

exception TIPCommon.exceptions.SDKWrapperError

Dasar: GeneralActionException

Error wrapper metode SDK.

exception TIPCommon.exceptions.SMIMEMailError

Dasar: Exception

Pengecualian kustom untuk error pemrosesan email S/MIME.

exception TIPCommon.exceptions.UnauthenticatedError

Dasar: GoogleCloudException

Error autentikasi klien.

exception TIPCommon.exceptions.UnavailableError

Dasar: GoogleCloudException

Layanan Google Cloud tidak dapat memproses permintaan.

Perlu bantuan lain? Dapatkan jawaban dari anggota Komunitas dan profesional Google SecOps.