מודול החריגים
המודול הזה מכיל את כל הקבועים שמשמשים את החבילה TIPCommon וקבועים נפוצים שמשמשים בשילובים של Google Security Operations Content Hub.
דוגמה
from TIPCommon.exceptions import ConnectorProcessingError
raise ConnectorProcessingError('spam and eggs')
exception TIPCommon.exceptions.ActionSetupError
בסיסים: GeneralActionException
שגיאה באתחול הפעולה.
exception TIPCommon.exceptions.AlreadyExistsError
בסיסים: GoogleCloudException
כבר קיים משאב Google Cloud .
exception TIPCommon.exceptions.BadGatewayError
בסיסים: GoogleCloudException
שרת בין הלקוח לבין שרתי Google Cloud ה-backend זיהה בעיה זמנית.
exception TIPCommon.exceptions.CaseResultError
בסיסים: GeneralActionException
שגיאה בשליחת נתונים לתוצאת הפנייה.
exception TIPCommon.exceptions.ConnectorContextError
בסיסים: GeneralConnectorException
שגיאה בהקשר של המחבר.
exception TIPCommon.exceptions.ConnectorProcessingError
בסיסים: GeneralConnectorException
שגיאה בעיבוד המחבר.
exception TIPCommon.exceptions.ConnectorSetupError
בסיסים: GeneralConnectorException
שגיאה באתחול המחבר.
exception TIPCommon.exceptions.ConnectorValidationError
בסיסים: GeneralConnectorException
שגיאה באימות המחבר.
exception TIPCommon.exceptions.DeadlineExceededError
בסיסים: GoogleCloudException
הבקשה לא הושלמה בזמן שהוקצב.
exception TIPCommon.exceptions.EmptyMandatoryValues
בסיסים: Exception
חריגה לערכי חובה ריקים.
exception TIPCommon.exceptions.EnrichActionError
בסיסים: GeneralActionException
שגיאה בפעולת העשרה.
exception TIPCommon.exceptions.FailedPreconditionError
בסיסים: GoogleCloudException
שגיאה בתנאי המקדים של בקשת Google Cloud .
exception TIPCommon.exceptions.GeneralActionException
בסיסים: Exception
חריגה כללית בפעולה.
exception TIPCommon.exceptions.GeneralConnectorException
בסיסים: Exception
חריגה כללית במחבר.
exception TIPCommon.exceptions.GeneralJobException
בסיסים: Exception
חריגה כללית במשימה.
exception TIPCommon.exceptions.GoogleCloudException
בסיסים: Exception
חריגה Google Cloud כללית.
exception TIPCommon.exceptions.ImpersonationUnauthorizedError
בסיסים: GoogleCloudException
למבצע הקריאה החוזרת אין הרשאה להתחזות לחשבון השירות.
exception TIPCommon.exceptions.InternalJSONDecoderError
בסיסים: Exception
שגיאה פנימית בניתוח JSON באמצעות json.load/dump. הודעה בלבד.
exception TIPCommon.exceptions.InvalidArgumentError
בסיסים: GoogleCloudException
בקשה לא חוקית למשאב Google Cloud .
exception TIPCommon.exceptions.InvalidTimeException
בסיסים: Exception
חריגה שקשורה לזמן לא חוקי.
exception TIPCommon.exceptions.JobSetupError
בסיסים: GeneralActionException
שגיאה באתחול המשימה.
exception TIPCommon.exceptions.NotFoundError
בסיסים: GoogleCloudPubSubException
המשאב Google Cloud לא נמצא.
exception TIPCommon.exceptions.OauthError
בסיסים: Exception
חריגה כללית שמופיעה כשיש שגיאה בתהליך הרשאה באמצעות OAuth 2.0.
exception TIPCommon.exceptions.ParameterExtractionError
בסיסים: Exception
שגיאה בחילוץ הפרמטרים.
exception TIPCommon.exceptions.ParameterValidationError
בסיסים: Exception
פרמטר לא תקין.
exception TIPCommon.exceptions.PermissionDeniedError
בסיסים: GoogleCloudException
ללקוח אין הרשאה לבצע את הפעולה במשאב.
exception TIPCommon.exceptions.RefreshTokenRenewalJobException
בסיסים: GeneralJobException
כשל במכונה של RefreshTokenRenewalJob.
exception TIPCommon.exceptions.ResourceExhaustedError
בסיסים: GoogleCloudException
הייתה חריגה מהמכסה של הפרויקט Google Cloud , או שיש יותר מדי בקשות מקבילות מהלקוח.
exception TIPCommon.exceptions.SDKWrapperError
בסיסים: GeneralActionException
שגיאה ב-wrapper של ה-method ב-SDK.
exception TIPCommon.exceptions.SMIMEMailError
בסיסים: Exception
חריגה בהתאמה אישית לשגיאות בעיבוד אימיילים עם S/MIME.
exception TIPCommon.exceptions.UnauthenticatedError
בסיסים: GoogleCloudException
שגיאת אימות של הלקוח.
exception TIPCommon.exceptions.UnavailableError
בסיסים: GoogleCloudException
השירות Google Cloud לא הצליח לעבד בקשה.
הבעיה עדיין לא נפתרה? קבלת תשובות מחברי הקהילה וממומחי Google SecOps.