Module exchangelib.errors

Stores errors specific to this package, and mirrors all the possible errors that EWS can return.

Expand source code
"""Stores errors specific to this package, and mirrors all the possible errors that EWS can return."""
from urllib.parse import urlparse


class MultipleObjectsReturned(Exception):
    pass


class DoesNotExist(Exception):
    pass


class InvalidEnumValue(ValueError):
    def __init__(self, field_name, value, choices):
        self.field_name = field_name
        self.value = value
        self.choices = choices
        super().__init__(str(self))

    def __str__(self):
        return f"{self.field_name!r} {self.value!r} must be one of {sorted(self.choices)}"


class InvalidTypeError(TypeError):
    def __init__(self, field_name, value, valid_type):
        self.field_name = field_name
        self.value = value
        self.valid_type = valid_type
        super().__init__(str(self))

    def __str__(self):
        return f"{self.field_name!r} {self.value!r} must be of type {self.valid_type}"


class EWSError(Exception):
    """Global error type within this module."""

    def __init__(self, value):
        super().__init__(value)
        self.value = value

    def __str__(self):
        return str(self.value)

    def __eq__(self, other):
        return repr(self) == repr(other)

    def __hash__(self):
        return hash(str(self))


# Warnings
class EWSWarning(EWSError):
    pass


# Misc errors
class TransportError(EWSError):
    pass


class RateLimitError(TransportError):
    def __init__(self, value, url, status_code, total_wait):
        super().__init__(value)
        self.url = url
        self.status_code = status_code
        self.total_wait = total_wait

    def __str__(self):
        return (
            f"{self.value} (gave up after {self.total_wait:.3f} seconds. "
            f"URL {self.url} returned status code {self.status_code})"
        )


class SOAPError(TransportError):
    pass


class MalformedResponseError(TransportError):
    pass


class UnauthorizedError(EWSError):
    pass


class RedirectError(TransportError):
    def __init__(self, url):
        parsed_url = urlparse(url)
        self.url = url
        self.server = parsed_url.hostname.lower()
        self.has_ssl = parsed_url.scheme == "https"
        super().__init__(str(self))

    def __str__(self):
        return f"We were redirected to {self.url}"


class RelativeRedirect(TransportError):
    pass


class AutoDiscoverError(TransportError):
    pass


class AutoDiscoverFailed(AutoDiscoverError):
    pass


class AutoDiscoverCircularRedirect(AutoDiscoverError):
    pass


class NaiveDateTimeNotAllowed(ValueError):
    def __init__(self, local_dt):
        super().__init__()
        self.local_dt = local_dt  # An EWSDateTime instance


class UnknownTimeZone(EWSError):
    pass


class SessionPoolMinSizeReached(EWSError):
    pass


class SessionPoolMaxSizeReached(EWSError):
    pass


class ResponseMessageError(TransportError):
    pass


class CASError(EWSError):
    """EWS will sometimes return an error message in an 'X-CasErrorCode' custom HTTP header in an HTTP 500 error code.
    This exception is for those cases. The caller may want to do something with the original response, so store that.
    """

    def __init__(self, cas_error, response):
        self.cas_error = cas_error
        self.response = response
        super().__init__(str(self))

    def __str__(self):
        return f"CAS error: {self.cas_error}"


# Somewhat-authoritative list of possible response message error types from EWS. See full list at
# https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/responsecode
#
class ErrorAccessDenied(ResponseMessageError):
    pass


class ErrorAccessModeSpecified(ResponseMessageError):
    pass


class ErrorAccountDisabled(ResponseMessageError):
    pass


class ErrorAddDelegatesFailed(ResponseMessageError):
    pass


class ErrorAddressSpaceNotFound(ResponseMessageError):
    pass


class ErrorADOperation(ResponseMessageError):
    pass


class ErrorADSessionFilter(ResponseMessageError):
    pass


class ErrorADUnavailable(ResponseMessageError):
    pass


class ErrorAffectedTaskOccurrencesRequired(ResponseMessageError):
    pass


class ErrorApplyConversationActionFailed(ResponseMessageError):
    pass


class ErrorAttachmentSizeLimitExceeded(ResponseMessageError):
    pass


class ErrorAutoDiscoverFailed(ResponseMessageError):
    pass


class ErrorAvailabilityConfigNotFound(ResponseMessageError):
    pass


class ErrorBatchProcessingStopped(ResponseMessageError):
    pass


class ErrorCalendarCannotMoveOrCopyOccurrence(ResponseMessageError):
    pass


class ErrorCalendarCannotUpdateDeletedItem(ResponseMessageError):
    pass


class ErrorCalendarCannotUseIdForOccurrenceId(ResponseMessageError):
    pass


class ErrorCalendarCannotUseIdForRecurringMasterId(ResponseMessageError):
    pass


class ErrorCalendarDurationIsTooLong(ResponseMessageError):
    pass


class ErrorCalendarEndDateIsEarlierThanStartDate(ResponseMessageError):
    pass


class ErrorCalendarFolderIsInvalidForCalendarView(ResponseMessageError):
    pass


class ErrorCalendarInvalidAttributeValue(ResponseMessageError):
    pass


class ErrorCalendarInvalidDayForTimeChangePattern(ResponseMessageError):
    pass


class ErrorCalendarInvalidDayForWeeklyRecurrence(ResponseMessageError):
    pass


class ErrorCalendarInvalidPropertyState(ResponseMessageError):
    pass


class ErrorCalendarInvalidPropertyValue(ResponseMessageError):
    pass


class ErrorCalendarInvalidRecurrence(ResponseMessageError):
    pass


class ErrorCalendarInvalidTimeZone(ResponseMessageError):
    pass


class ErrorCalendarIsCancelledForAccept(ResponseMessageError):
    pass


class ErrorCalendarIsCancelledForDecline(ResponseMessageError):
    pass


class ErrorCalendarIsCancelledForRemove(ResponseMessageError):
    pass


class ErrorCalendarIsCancelledForTentative(ResponseMessageError):
    pass


class ErrorCalendarIsDelegatedForAccept(ResponseMessageError):
    pass


class ErrorCalendarIsDelegatedForDecline(ResponseMessageError):
    pass


class ErrorCalendarIsDelegatedForRemove(ResponseMessageError):
    pass


class ErrorCalendarIsDelegatedForTentative(ResponseMessageError):
    pass


class ErrorCalendarIsNotOrganizer(ResponseMessageError):
    pass


class ErrorCalendarIsOrganizerForAccept(ResponseMessageError):
    pass


class ErrorCalendarIsOrganizerForDecline(ResponseMessageError):
    pass


class ErrorCalendarIsOrganizerForRemove(ResponseMessageError):
    pass


class ErrorCalendarIsOrganizerForTentative(ResponseMessageError):
    pass


class ErrorCalendarMeetingRequestIsOutOfDate(ResponseMessageError):
    pass


class ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange(ResponseMessageError):
    pass


class ErrorCalendarOccurrenceIsDeletedFromRecurrence(ResponseMessageError):
    pass


class ErrorCalendarOutOfRange(ResponseMessageError):
    pass


class ErrorCalendarViewRangeTooBig(ResponseMessageError):
    pass


class ErrorCallerIsInvalidADAccount(ResponseMessageError):
    pass


class ErrorCannotCreateCalendarItemInNonCalendarFolder(ResponseMessageError):
    pass


class ErrorCannotCreateContactInNonContactFolder(ResponseMessageError):
    pass


class ErrorCannotCreatePostItemInNonMailFolder(ResponseMessageError):
    pass


class ErrorCannotCreateTaskInNonTaskFolder(ResponseMessageError):
    pass


class ErrorCannotDeleteObject(ResponseMessageError):
    pass


class ErrorCannotDeleteTaskOccurrence(ResponseMessageError):
    pass


class ErrorCannotEmptyFolder(ResponseMessageError):
    pass


class ErrorCannotOpenFileAttachment(ResponseMessageError):
    pass


class ErrorCannotSetCalendarPermissionOnNonCalendarFolder(ResponseMessageError):
    pass


class ErrorCannotSetNonCalendarPermissionOnCalendarFolder(ResponseMessageError):
    pass


class ErrorCannotSetPermissionUnknownEntries(ResponseMessageError):
    pass


class ErrorCannotUseFolderIdForItemId(ResponseMessageError):
    pass


class ErrorCannotUseItemIdForFolderId(ResponseMessageError):
    pass


class ErrorChangeKeyRequired(ResponseMessageError):
    pass


class ErrorChangeKeyRequiredForWriteOperations(ResponseMessageError):
    pass


class ErrorClientDisconnected(ResponseMessageError):
    pass


class ErrorConnectionFailed(ResponseMessageError):
    pass


class ErrorConnectionFailedTransientError(ResponseMessageError):
    pass


class ErrorContainsFilterWrongType(ResponseMessageError):
    pass


class ErrorContentConversionFailed(ResponseMessageError):
    pass


class ErrorCorruptData(ResponseMessageError):
    pass


class ErrorCreateItemAccessDenied(ResponseMessageError):
    pass


class ErrorCreateManagedFolderPartialCompletion(ResponseMessageError):
    pass


class ErrorCreateSubfolderAccessDenied(ResponseMessageError):
    pass


class ErrorCrossMailboxMoveCopy(ResponseMessageError):
    pass


class ErrorCrossSiteRequest(ResponseMessageError):
    pass


class ErrorDataSizeLimitExceeded(ResponseMessageError):
    pass


class ErrorDataSourceOperation(ResponseMessageError):
    pass


class ErrorDelegateAlreadyExists(ResponseMessageError):
    pass


class ErrorDelegateCannotAddOwner(ResponseMessageError):
    pass


class ErrorDelegateMissingConfiguration(ResponseMessageError):
    pass


class ErrorDelegateNoUser(ResponseMessageError):
    pass


class ErrorDelegateValidationFailed(ResponseMessageError):
    pass


class ErrorDeleteDistinguishedFolder(ResponseMessageError):
    pass


class ErrorDeleteItemsFailed(ResponseMessageError):
    pass


class ErrorDistinguishedUserNotSupported(ResponseMessageError):
    pass


class ErrorDistributionListMemberNotExist(ResponseMessageError):
    pass


class ErrorDuplicateInputFolderNames(ResponseMessageError):
    pass


class ErrorDuplicateSOAPHeader(ResponseMessageError):
    pass


class ErrorDuplicateUserIdsSpecified(ResponseMessageError):
    pass


class ErrorEmailAddressMismatch(ResponseMessageError):
    pass


class ErrorEventNotFound(ResponseMessageError):
    pass


class ErrorExceededConnectionCount(ResponseMessageError):
    pass


class ErrorExceededFindCountLimit(ResponseMessageError):
    pass


class ErrorExceededSubscriptionCount(ResponseMessageError):
    pass


class ErrorExpiredSubscription(ResponseMessageError):
    pass


class ErrorFolderCorrupt(ResponseMessageError):
    pass


class ErrorFolderExists(ResponseMessageError):
    pass


class ErrorFolderNotFound(ResponseMessageError):
    pass


class ErrorFolderPropertyRequestFailed(ResponseMessageError):
    pass


class ErrorFolderSave(ResponseMessageError):
    pass


class ErrorFolderSaveFailed(ResponseMessageError):
    pass


class ErrorFolderSavePropertyError(ResponseMessageError):
    pass


class ErrorFreeBusyDLLimitReached(ResponseMessageError):
    pass


class ErrorFreeBusyGenerationFailed(ResponseMessageError):
    pass


class ErrorGetServerSecurityDescriptorFailed(ResponseMessageError):
    pass


class ErrorImpersonateUserDenied(ResponseMessageError):
    pass


class ErrorImpersonationDenied(ResponseMessageError):
    pass


class ErrorImpersonationFailed(ResponseMessageError):
    pass


class ErrorInboxRulesValidationError(ResponseMessageError):
    pass


class ErrorIncorrectSchemaVersion(ResponseMessageError):
    pass


class ErrorIncorrectUpdatePropertyCount(ResponseMessageError):
    pass


class ErrorIndividualMailboxLimitReached(ResponseMessageError):
    pass


class ErrorInsufficientResources(ResponseMessageError):
    pass


class ErrorInternalServerError(ResponseMessageError):
    pass


class ErrorInternalServerTransientError(ResponseMessageError):
    pass


class ErrorInvalidAccessLevel(ResponseMessageError):
    pass


class ErrorInvalidArgument(ResponseMessageError):
    pass


class ErrorInvalidAttachmentId(ResponseMessageError):
    pass


class ErrorInvalidAttachmentSubfilter(ResponseMessageError):
    pass


class ErrorInvalidAttachmentSubfilterTextFilter(ResponseMessageError):
    pass


class ErrorInvalidAuthorizationContext(ResponseMessageError):
    pass


class ErrorInvalidChangeKey(ResponseMessageError):
    pass


class ErrorInvalidClientSecurityContext(ResponseMessageError):
    pass


class ErrorInvalidCompleteDate(ResponseMessageError):
    pass


class ErrorInvalidContactEmailAddress(ResponseMessageError):
    pass


class ErrorInvalidContactEmailIndex(ResponseMessageError):
    pass


class ErrorInvalidCrossForestCredentials(ResponseMessageError):
    pass


class ErrorInvalidDelegatePermission(ResponseMessageError):
    pass


class ErrorInvalidDelegateUserId(ResponseMessageError):
    pass


class ErrorInvalidExchangeImpersonationHeaderData(ResponseMessageError):
    pass


class ErrorInvalidExcludesRestriction(ResponseMessageError):
    pass


class ErrorInvalidExpressionTypeForSubFilter(ResponseMessageError):
    pass


class ErrorInvalidExtendedProperty(ResponseMessageError):
    pass


class ErrorInvalidExtendedPropertyValue(ResponseMessageError):
    pass


class ErrorInvalidExternalSharingInitiator(ResponseMessageError):
    pass


class ErrorInvalidExternalSharingSubscriber(ResponseMessageError):
    pass


class ErrorInvalidFederatedOrganizationId(ResponseMessageError):
    pass


class ErrorInvalidFolderId(ResponseMessageError):
    pass


class ErrorInvalidFolderTypeForOperation(ResponseMessageError):
    pass


class ErrorInvalidFractionalPagingParameters(ResponseMessageError):
    pass


class ErrorInvalidFreeBusyViewType(ResponseMessageError):
    pass


class ErrorInvalidGetSharingFolderRequest(ResponseMessageError):
    pass


class ErrorInvalidId(ResponseMessageError):
    pass


class ErrorInvalidIdEmpty(ResponseMessageError):
    pass


class ErrorInvalidIdMalformed(ResponseMessageError):
    pass


class ErrorInvalidIdMalformedEwsLegacyIdFormat(ResponseMessageError):
    pass


class ErrorInvalidIdMonikerTooLong(ResponseMessageError):
    pass


class ErrorInvalidIdNotAnItemAttachmentId(ResponseMessageError):
    pass


class ErrorInvalidIdReturnedByResolveNames(ResponseMessageError):
    pass


class ErrorInvalidIdStoreObjectIdTooLong(ResponseMessageError):
    pass


class ErrorInvalidIdTooManyAttachmentLevels(ResponseMessageError):
    pass


class ErrorInvalidIdXml(ResponseMessageError):
    pass


class ErrorInvalidIndexedPagingParameters(ResponseMessageError):
    pass


class ErrorInvalidInternetHeaderChildNodes(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationAcceptItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationCancelItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationCreateItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationCreateItemAttachment(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationDeclineItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationExpandDL(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationRemoveItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationSendItem(ResponseMessageError):
    pass


class ErrorInvalidItemForOperationTentative(ResponseMessageError):
    pass


class ErrorInvalidLicense(ResponseMessageError):
    pass


class ErrorInvalidLogonType(ResponseMessageError):
    pass


class ErrorInvalidMailbox(ResponseMessageError):
    pass


class ErrorInvalidManagedFolderProperty(ResponseMessageError):
    pass


class ErrorInvalidManagedFolderQuota(ResponseMessageError):
    pass


class ErrorInvalidManagedFolderSize(ResponseMessageError):
    pass


class ErrorInvalidMergedFreeBusyInterval(ResponseMessageError):
    pass


class ErrorInvalidNameForNameResolution(ResponseMessageError):
    pass


class ErrorInvalidNetworkServiceContext(ResponseMessageError):
    pass


class ErrorInvalidOofParameter(ResponseMessageError):
    pass


class ErrorInvalidOperation(ResponseMessageError):
    pass


class ErrorInvalidOrganizationRelationshipForFreeBusy(ResponseMessageError):
    pass


class ErrorInvalidPagingMaxRows(ResponseMessageError):
    pass


class ErrorInvalidParentFolder(ResponseMessageError):
    pass


class ErrorInvalidPercentCompleteValue(ResponseMessageError):
    pass


class ErrorInvalidPermissionSettings(ResponseMessageError):
    pass


class ErrorInvalidPhoneCallId(ResponseMessageError):
    pass


class ErrorInvalidPhoneNumber(ResponseMessageError):
    pass


class ErrorInvalidPropertyAppend(ResponseMessageError):
    pass


class ErrorInvalidPropertyDelete(ResponseMessageError):
    pass


class ErrorInvalidPropertyForExists(ResponseMessageError):
    pass


class ErrorInvalidPropertyForOperation(ResponseMessageError):
    pass


class ErrorInvalidPropertyRequest(ResponseMessageError):
    pass


class ErrorInvalidPropertySet(ResponseMessageError):
    pass


class ErrorInvalidPropertyUpdateSentMessage(ResponseMessageError):
    pass


class ErrorInvalidProxySecurityContext(ResponseMessageError):
    pass


class ErrorInvalidPullSubscriptionId(ResponseMessageError):
    pass


class ErrorInvalidPushSubscriptionUrl(ResponseMessageError):
    pass


class ErrorInvalidRecipients(ResponseMessageError):
    pass


class ErrorInvalidRecipientSubfilter(ResponseMessageError):
    pass


class ErrorInvalidRecipientSubfilterComparison(ResponseMessageError):
    pass


class ErrorInvalidRecipientSubfilterOrder(ResponseMessageError):
    pass


class ErrorInvalidRecipientSubfilterTextFilter(ResponseMessageError):
    pass


class ErrorInvalidReferenceItem(ResponseMessageError):
    pass


class ErrorInvalidRequest(ResponseMessageError):
    pass


class ErrorInvalidRestriction(ResponseMessageError):
    pass


class ErrorInvalidRoutingType(ResponseMessageError):
    pass


class ErrorInvalidScheduledOofDuration(ResponseMessageError):
    pass


class ErrorInvalidSchemaVersionForMailboxVersion(ResponseMessageError):
    pass


class ErrorInvalidSecurityDescriptor(ResponseMessageError):
    pass


class ErrorInvalidSendItemSaveSettings(ResponseMessageError):
    pass


class ErrorInvalidSerializedAccessToken(ResponseMessageError):
    pass


class ErrorInvalidServerVersion(ResponseMessageError):
    pass


class ErrorInvalidSharingData(ResponseMessageError):
    pass


class ErrorInvalidSharingMessage(ResponseMessageError):
    pass


class ErrorInvalidSid(ResponseMessageError):
    pass


class ErrorInvalidSIPUri(ResponseMessageError):
    pass


class ErrorInvalidSmtpAddress(ResponseMessageError):
    pass


class ErrorInvalidSubfilterType(ResponseMessageError):
    pass


class ErrorInvalidSubfilterTypeNotAttendeeType(ResponseMessageError):
    pass


class ErrorInvalidSubfilterTypeNotRecipientType(ResponseMessageError):
    pass


class ErrorInvalidSubscription(ResponseMessageError):
    pass


class ErrorInvalidSubscriptionRequest(ResponseMessageError):
    pass


class ErrorInvalidSyncStateData(ResponseMessageError):
    pass


class ErrorInvalidTimeInterval(ResponseMessageError):
    pass


class ErrorInvalidUserInfo(ResponseMessageError):
    pass


class ErrorInvalidUserOofSettings(ResponseMessageError):
    pass


class ErrorInvalidUserPrincipalName(ResponseMessageError):
    pass


class ErrorInvalidUserSid(ResponseMessageError):
    pass


class ErrorInvalidUserSidMissingUPN(ResponseMessageError):
    pass


class ErrorInvalidValueForProperty(ResponseMessageError):
    pass


class ErrorInvalidWatermark(ResponseMessageError):
    pass


class ErrorIPGatewayNotFound(ResponseMessageError):
    pass


class ErrorIrresolvableConflict(ResponseMessageError):
    pass


class ErrorItemCorrupt(ResponseMessageError):
    pass


class ErrorItemNotFound(ResponseMessageError):
    pass


class ErrorItemPropertyRequestFailed(ResponseMessageError):
    pass


class ErrorItemSave(ResponseMessageError):
    pass


class ErrorItemSavePropertyError(ResponseMessageError):
    pass


class ErrorLegacyMailboxFreeBusyViewTypeNotMerged(ResponseMessageError):
    pass


class ErrorLocalServerObjectNotFound(ResponseMessageError):
    pass


class ErrorLogonAsNetworkServiceFailed(ResponseMessageError):
    pass


class ErrorMailboxConfiguration(ResponseMessageError):
    pass


class ErrorMailboxDataArrayEmpty(ResponseMessageError):
    pass


class ErrorMailboxDataArrayTooBig(ResponseMessageError):
    pass


class ErrorMailboxFailover(ResponseMessageError):
    pass


class ErrorMailboxLogonFailed(ResponseMessageError):
    pass


class ErrorMailboxMoveInProgress(ResponseMessageError):
    pass


class ErrorMailboxStoreUnavailable(ResponseMessageError):
    pass


class ErrorMailRecipientNotFound(ResponseMessageError):
    pass


class ErrorMailTipsDisabled(ResponseMessageError):
    pass


class ErrorManagedFolderAlreadyExists(ResponseMessageError):
    pass


class ErrorManagedFolderNotFound(ResponseMessageError):
    pass


class ErrorManagedFoldersRootFailure(ResponseMessageError):
    pass


class ErrorMeetingSuggestionGenerationFailed(ResponseMessageError):
    pass


class ErrorMessageDispositionRequired(ResponseMessageError):
    pass


class ErrorMessageSizeExceeded(ResponseMessageError):
    pass


class ErrorMessageTrackingNoSuchDomain(ResponseMessageError):
    pass


class ErrorMessageTrackingPermanentError(ResponseMessageError):
    pass


class ErrorMessageTrackingTransientError(ResponseMessageError):
    pass


class ErrorMimeContentConversionFailed(ResponseMessageError):
    pass


class ErrorMimeContentInvalid(ResponseMessageError):
    pass


class ErrorMimeContentInvalidBase64String(ResponseMessageError):
    pass


class ErrorMissedNotificationEvents(ResponseMessageError):
    pass


class ErrorMissingArgument(ResponseMessageError):
    pass


class ErrorMissingEmailAddress(ResponseMessageError):
    pass


class ErrorMissingEmailAddressForManagedFolder(ResponseMessageError):
    pass


class ErrorMissingInformationEmailAddress(ResponseMessageError):
    pass


class ErrorMissingInformationReferenceItemId(ResponseMessageError):
    pass


class ErrorMissingInformationSharingFolderId(ResponseMessageError):
    pass


class ErrorMissingItemForCreateItemAttachment(ResponseMessageError):
    pass


class ErrorMissingManagedFolderId(ResponseMessageError):
    pass


class ErrorMissingRecipients(ResponseMessageError):
    pass


class ErrorMissingUserIdInformation(ResponseMessageError):
    pass


class ErrorMoreThanOneAccessModeSpecified(ResponseMessageError):
    pass


class ErrorMoveCopyFailed(ResponseMessageError):
    pass


class ErrorMoveDistinguishedFolder(ResponseMessageError):
    pass


class ErrorNameResolutionMultipleResults(ResponseMessageError):
    pass


class ErrorNameResolutionNoMailbox(ResponseMessageError):
    pass


class ErrorNameResolutionNoResults(ResponseMessageError):
    pass


class ErrorNewEventStreamConnectionOpened(ResponseMessageError):
    pass


class ErrorNoApplicableProxyCASServersAvailable(ResponseMessageError):
    pass


class ErrorNoCalendar(ResponseMessageError):
    pass


class ErrorNoDestinationCASDueToKerberosRequirements(ResponseMessageError):
    pass


class ErrorNoDestinationCASDueToSSLRequirements(ResponseMessageError):
    pass


class ErrorNoDestinationCASDueToVersionMismatch(ResponseMessageError):
    pass


class ErrorNoFolderClassOverride(ResponseMessageError):
    pass


class ErrorNoFreeBusyAccess(ResponseMessageError):
    pass


class ErrorNonExistentMailbox(ResponseMessageError):
    pass


class ErrorNonPrimarySmtpAddress(ResponseMessageError):
    pass


class ErrorNoPropertyTagForCustomProperties(ResponseMessageError):
    pass


class ErrorNoPublicFolderReplicaAvailable(ResponseMessageError):
    pass


class ErrorNoPublicFolderServerAvailable(ResponseMessageError):
    pass


class ErrorNoRespondingCASInDestinationSite(ResponseMessageError):
    pass


class ErrorNotAllowedExternalSharingByPolicy(ResponseMessageError):
    pass


class ErrorNotDelegate(ResponseMessageError):
    pass


class ErrorNotEnoughMemory(ResponseMessageError):
    pass


class ErrorNotSupportedSharingMessage(ResponseMessageError):
    pass


class ErrorObjectTypeChanged(ResponseMessageError):
    pass


class ErrorOccurrenceCrossingBoundary(ResponseMessageError):
    pass


class ErrorOccurrenceTimeSpanTooBig(ResponseMessageError):
    pass


class ErrorOperationNotAllowedWithPublicFolderRoot(ResponseMessageError):
    pass


class ErrorOrganizationNotFederated(ResponseMessageError):
    pass


class ErrorOutlookRuleBlobExists(ResponseMessageError):
    pass


class ErrorParentFolderIdRequired(ResponseMessageError):
    pass


class ErrorParentFolderNotFound(ResponseMessageError):
    pass


class ErrorPasswordChangeRequired(ResponseMessageError):
    pass


class ErrorPasswordExpired(ResponseMessageError):
    pass


class ErrorPermissionNotAllowedByPolicy(ResponseMessageError):
    pass


class ErrorPhoneNumberNotDialable(ResponseMessageError):
    pass


class ErrorPropertyUpdate(ResponseMessageError):
    pass


class ErrorPropertyValidationFailure(ResponseMessageError):
    pass


class ErrorProxiedSubscriptionCallFailure(ResponseMessageError):
    pass


class ErrorProxyCallFailed(ResponseMessageError):
    pass


class ErrorProxyGroupSidLimitExceeded(ResponseMessageError):
    pass


class ErrorProxyRequestNotAllowed(ResponseMessageError):
    pass


class ErrorProxyRequestProcessingFailed(ResponseMessageError):
    pass


class ErrorProxyServiceDiscoveryFailed(ResponseMessageError):
    pass


class ErrorProxyTokenExpired(ResponseMessageError):
    pass


class ErrorPublicFolderRequestProcessingFailed(ResponseMessageError):
    pass


class ErrorPublicFolderServerNotFound(ResponseMessageError):
    pass


class ErrorQueryFilterTooLong(ResponseMessageError):
    pass


class ErrorQuotaExceeded(ResponseMessageError):
    pass


class ErrorReadEventsFailed(ResponseMessageError):
    pass


class ErrorReadReceiptNotPending(ResponseMessageError):
    pass


class ErrorRecoverableItemsAccessDenied(ResponseMessageError):
    pass


class ErrorRecurrenceEndDateTooBig(ResponseMessageError):
    pass


class ErrorRecurrenceHasNoOccurrence(ResponseMessageError):
    pass


class ErrorRemoveDelegatesFailed(ResponseMessageError):
    pass


class ErrorRequestAborted(ResponseMessageError):
    pass


class ErrorRequestStreamTooBig(ResponseMessageError):
    pass


class ErrorRequiredPropertyMissing(ResponseMessageError):
    pass


class ErrorResolveNamesInvalidFolderType(ResponseMessageError):
    pass


class ErrorResolveNamesOnlyOneContactsFolderAllowed(ResponseMessageError):
    pass


class ErrorResponseSchemaValidation(ResponseMessageError):
    pass


class ErrorRestrictionTooComplex(ResponseMessageError):
    pass


class ErrorRestrictionTooLong(ResponseMessageError):
    pass


class ErrorResultSetTooBig(ResponseMessageError):
    pass


class ErrorRulesOverQuota(ResponseMessageError):
    pass


class ErrorSavedItemFolderNotFound(ResponseMessageError):
    pass


class ErrorSchemaValidation(ResponseMessageError):
    pass


class ErrorSearchFolderNotInitialized(ResponseMessageError):
    pass


class ErrorSendAsDenied(ResponseMessageError):
    pass


class ErrorSendMeetingCancellationsRequired(ResponseMessageError):
    pass


class ErrorSendMeetingInvitationsOrCancellationsRequired(ResponseMessageError):
    pass


class ErrorSendMeetingInvitationsRequired(ResponseMessageError):
    pass


class ErrorSentMeetingRequestUpdate(ResponseMessageError):
    pass


class ErrorSentTaskRequestUpdate(ResponseMessageError):
    pass


class ErrorServerBusy(ResponseMessageError):
    def __init__(self, *args, **kwargs):
        self.back_off = kwargs.pop("back_off", None)  # Requested back off value in seconds
        super().__init__(*args, **kwargs)


class ErrorServiceDiscoveryFailed(ResponseMessageError):
    pass


class ErrorSharingNoExternalEwsAvailable(ResponseMessageError):
    pass


class ErrorSharingSynchronizationFailed(ResponseMessageError):
    pass


class ErrorStaleObject(ResponseMessageError):
    pass


class ErrorSubmissionQuotaExceeded(ResponseMessageError):
    pass


class ErrorSubscriptionAccessDenied(ResponseMessageError):
    pass


class ErrorSubscriptionDelegateAccessNotSupported(ResponseMessageError):
    pass


class ErrorSubscriptionNotFound(ResponseMessageError):
    pass


class ErrorSubscriptionUnsubsribed(ResponseMessageError):
    pass


class ErrorSyncFolderNotFound(ResponseMessageError):
    pass


class ErrorTimeIntervalTooBig(ResponseMessageError):
    pass


class ErrorTimeoutExpired(ResponseMessageError):
    pass


class ErrorTimeZone(ResponseMessageError):
    pass


class ErrorToFolderNotFound(ResponseMessageError):
    pass


class ErrorTokenSerializationDenied(ResponseMessageError):
    pass


class ErrorTooManyObjectsOpened(ResponseMessageError):
    pass


class ErrorUnableToGetUserOofSettings(ResponseMessageError):
    pass


class ErrorUnifiedMessagingDialPlanNotFound(ResponseMessageError):
    pass


class ErrorUnifiedMessagingRequestFailed(ResponseMessageError):
    pass


class ErrorUnifiedMessagingServerNotFound(ResponseMessageError):
    pass


class ErrorUnsupportedCulture(ResponseMessageError):
    pass


class ErrorUnsupportedMapiPropertyType(ResponseMessageError):
    pass


class ErrorUnsupportedMimeConversion(ResponseMessageError):
    pass


class ErrorUnsupportedPathForQuery(ResponseMessageError):
    pass


class ErrorUnsupportedPathForSortGroup(ResponseMessageError):
    pass


class ErrorUnsupportedPropertyDefinition(ResponseMessageError):
    pass


class ErrorUnsupportedQueryFilter(ResponseMessageError):
    pass


class ErrorUnsupportedRecurrence(ResponseMessageError):
    pass


class ErrorUnsupportedSubFilter(ResponseMessageError):
    pass


class ErrorUnsupportedTypeForConversion(ResponseMessageError):
    pass


class ErrorUpdateDelegatesFailed(ResponseMessageError):
    pass


class ErrorUpdatePropertyMismatch(ResponseMessageError):
    pass


class ErrorUserNotAllowedByPolicy(ResponseMessageError):
    pass


class ErrorUserNotUnifiedMessagingEnabled(ResponseMessageError):
    pass


class ErrorUserWithoutFederatedProxyAddress(ResponseMessageError):
    pass


class ErrorValueOutOfRange(ResponseMessageError):
    pass


class ErrorVirusDetected(ResponseMessageError):
    pass


class ErrorVirusMessageDeleted(ResponseMessageError):
    pass


class ErrorVoiceMailNotImplemented(ResponseMessageError):
    pass


class ErrorWebRequestInInvalidState(ResponseMessageError):
    pass


class ErrorWin32InteropError(ResponseMessageError):
    pass


class ErrorWorkingHoursSaveFailed(ResponseMessageError):
    pass


class ErrorWorkingHoursXmlMalformed(ResponseMessageError):
    pass


class ErrorWrongServerVersion(ResponseMessageError):
    pass


class ErrorWrongServerVersionDelegate(ResponseMessageError):
    pass


# Microsoft recommends caching the autodiscover data around 24 hours and perform autodiscover
# immediately following certain error responses from EWS. See more at
# http://blogs.msdn.com/b/mstehle/archive/2010/11/09/ews-best-practices-use-autodiscover.aspx

ERRORS_REQUIRING_REAUTODISCOVER = (
    ErrorAutoDiscoverFailed,
    ErrorConnectionFailed,
    ErrorIncorrectSchemaVersion,
    ErrorInvalidCrossForestCredentials,
    ErrorInvalidIdReturnedByResolveNames,
    ErrorInvalidNetworkServiceContext,
    ErrorMailboxMoveInProgress,
    ErrorMailboxMoveInProgress,
    ErrorMailboxStoreUnavailable,
    ErrorNameResolutionNoMailbox,
    ErrorNameResolutionNoResults,
    ErrorNotEnoughMemory,
)

Classes

class AutoDiscoverCircularRedirect (value)

Global error type within this module.

Expand source code
class AutoDiscoverCircularRedirect(AutoDiscoverError):
    pass

Ancestors

class AutoDiscoverError (value)

Global error type within this module.

Expand source code
class AutoDiscoverError(TransportError):
    pass

Ancestors

Subclasses

class AutoDiscoverFailed (value)

Global error type within this module.

Expand source code
class AutoDiscoverFailed(AutoDiscoverError):
    pass

Ancestors

class CASError (cas_error, response)

EWS will sometimes return an error message in an 'X-CasErrorCode' custom HTTP header in an HTTP 500 error code. This exception is for those cases. The caller may want to do something with the original response, so store that.

Expand source code
class CASError(EWSError):
    """EWS will sometimes return an error message in an 'X-CasErrorCode' custom HTTP header in an HTTP 500 error code.
    This exception is for those cases. The caller may want to do something with the original response, so store that.
    """

    def __init__(self, cas_error, response):
        self.cas_error = cas_error
        self.response = response
        super().__init__(str(self))

    def __str__(self):
        return f"CAS error: {self.cas_error}"

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException
class DoesNotExist (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class DoesNotExist(Exception):
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class EWSError (value)

Global error type within this module.

Expand source code
class EWSError(Exception):
    """Global error type within this module."""

    def __init__(self, value):
        super().__init__(value)
        self.value = value

    def __str__(self):
        return str(self.value)

    def __eq__(self, other):
        return repr(self) == repr(other)

    def __hash__(self):
        return hash(str(self))

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class EWSWarning (value)

Global error type within this module.

Expand source code
class EWSWarning(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException
class ErrorADOperation (value)

Global error type within this module.

Expand source code
class ErrorADOperation(ResponseMessageError):
    pass

Ancestors

class ErrorADSessionFilter (value)

Global error type within this module.

Expand source code
class ErrorADSessionFilter(ResponseMessageError):
    pass

Ancestors

class ErrorADUnavailable (value)

Global error type within this module.

Expand source code
class ErrorADUnavailable(ResponseMessageError):
    pass

Ancestors

class ErrorAccessDenied (value)

Global error type within this module.

Expand source code
class ErrorAccessDenied(ResponseMessageError):
    pass

Ancestors

class ErrorAccessModeSpecified (value)

Global error type within this module.

Expand source code
class ErrorAccessModeSpecified(ResponseMessageError):
    pass

Ancestors

class ErrorAccountDisabled (value)

Global error type within this module.

Expand source code
class ErrorAccountDisabled(ResponseMessageError):
    pass

Ancestors

class ErrorAddDelegatesFailed (value)

Global error type within this module.

Expand source code
class ErrorAddDelegatesFailed(ResponseMessageError):
    pass

Ancestors

class ErrorAddressSpaceNotFound (value)

Global error type within this module.

Expand source code
class ErrorAddressSpaceNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorAffectedTaskOccurrencesRequired (value)

Global error type within this module.

Expand source code
class ErrorAffectedTaskOccurrencesRequired(ResponseMessageError):
    pass

Ancestors

class ErrorApplyConversationActionFailed (value)

Global error type within this module.

Expand source code
class ErrorApplyConversationActionFailed(ResponseMessageError):
    pass

Ancestors

class ErrorAttachmentSizeLimitExceeded (value)

Global error type within this module.

Expand source code
class ErrorAttachmentSizeLimitExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorAutoDiscoverFailed (value)

Global error type within this module.

Expand source code
class ErrorAutoDiscoverFailed(ResponseMessageError):
    pass

Ancestors

class ErrorAvailabilityConfigNotFound (value)

Global error type within this module.

Expand source code
class ErrorAvailabilityConfigNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorBatchProcessingStopped (value)

Global error type within this module.

Expand source code
class ErrorBatchProcessingStopped(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarCannotMoveOrCopyOccurrence (value)

Global error type within this module.

Expand source code
class ErrorCalendarCannotMoveOrCopyOccurrence(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarCannotUpdateDeletedItem (value)

Global error type within this module.

Expand source code
class ErrorCalendarCannotUpdateDeletedItem(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarCannotUseIdForOccurrenceId (value)

Global error type within this module.

Expand source code
class ErrorCalendarCannotUseIdForOccurrenceId(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarCannotUseIdForRecurringMasterId (value)

Global error type within this module.

Expand source code
class ErrorCalendarCannotUseIdForRecurringMasterId(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarDurationIsTooLong (value)

Global error type within this module.

Expand source code
class ErrorCalendarDurationIsTooLong(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarEndDateIsEarlierThanStartDate (value)

Global error type within this module.

Expand source code
class ErrorCalendarEndDateIsEarlierThanStartDate(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarFolderIsInvalidForCalendarView (value)

Global error type within this module.

Expand source code
class ErrorCalendarFolderIsInvalidForCalendarView(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidAttributeValue (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidAttributeValue(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidDayForTimeChangePattern (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidDayForTimeChangePattern(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidDayForWeeklyRecurrence (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidDayForWeeklyRecurrence(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidPropertyState (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidPropertyState(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidPropertyValue (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidPropertyValue(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidRecurrence (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidRecurrence(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarInvalidTimeZone (value)

Global error type within this module.

Expand source code
class ErrorCalendarInvalidTimeZone(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsCancelledForAccept (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsCancelledForAccept(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsCancelledForDecline (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsCancelledForDecline(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsCancelledForRemove (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsCancelledForRemove(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsCancelledForTentative (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsCancelledForTentative(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsDelegatedForAccept (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsDelegatedForAccept(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsDelegatedForDecline (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsDelegatedForDecline(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsDelegatedForRemove (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsDelegatedForRemove(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsDelegatedForTentative (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsDelegatedForTentative(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsNotOrganizer (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsNotOrganizer(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsOrganizerForAccept (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsOrganizerForAccept(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsOrganizerForDecline (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsOrganizerForDecline(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsOrganizerForRemove (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsOrganizerForRemove(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarIsOrganizerForTentative (value)

Global error type within this module.

Expand source code
class ErrorCalendarIsOrganizerForTentative(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarMeetingRequestIsOutOfDate (value)

Global error type within this module.

Expand source code
class ErrorCalendarMeetingRequestIsOutOfDate(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange (value)

Global error type within this module.

Expand source code
class ErrorCalendarOccurrenceIndexIsOutOfRecurrenceRange(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarOccurrenceIsDeletedFromRecurrence (value)

Global error type within this module.

Expand source code
class ErrorCalendarOccurrenceIsDeletedFromRecurrence(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarOutOfRange (value)

Global error type within this module.

Expand source code
class ErrorCalendarOutOfRange(ResponseMessageError):
    pass

Ancestors

class ErrorCalendarViewRangeTooBig (value)

Global error type within this module.

Expand source code
class ErrorCalendarViewRangeTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorCallerIsInvalidADAccount (value)

Global error type within this module.

Expand source code
class ErrorCallerIsInvalidADAccount(ResponseMessageError):
    pass

Ancestors

class ErrorCannotCreateCalendarItemInNonCalendarFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotCreateCalendarItemInNonCalendarFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotCreateContactInNonContactFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotCreateContactInNonContactFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotCreatePostItemInNonMailFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotCreatePostItemInNonMailFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotCreateTaskInNonTaskFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotCreateTaskInNonTaskFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotDeleteObject (value)

Global error type within this module.

Expand source code
class ErrorCannotDeleteObject(ResponseMessageError):
    pass

Ancestors

class ErrorCannotDeleteTaskOccurrence (value)

Global error type within this module.

Expand source code
class ErrorCannotDeleteTaskOccurrence(ResponseMessageError):
    pass

Ancestors

class ErrorCannotEmptyFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotEmptyFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotOpenFileAttachment (value)

Global error type within this module.

Expand source code
class ErrorCannotOpenFileAttachment(ResponseMessageError):
    pass

Ancestors

class ErrorCannotSetCalendarPermissionOnNonCalendarFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotSetCalendarPermissionOnNonCalendarFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotSetNonCalendarPermissionOnCalendarFolder (value)

Global error type within this module.

Expand source code
class ErrorCannotSetNonCalendarPermissionOnCalendarFolder(ResponseMessageError):
    pass

Ancestors

class ErrorCannotSetPermissionUnknownEntries (value)

Global error type within this module.

Expand source code
class ErrorCannotSetPermissionUnknownEntries(ResponseMessageError):
    pass

Ancestors

class ErrorCannotUseFolderIdForItemId (value)

Global error type within this module.

Expand source code
class ErrorCannotUseFolderIdForItemId(ResponseMessageError):
    pass

Ancestors

class ErrorCannotUseItemIdForFolderId (value)

Global error type within this module.

Expand source code
class ErrorCannotUseItemIdForFolderId(ResponseMessageError):
    pass

Ancestors

class ErrorChangeKeyRequired (value)

Global error type within this module.

Expand source code
class ErrorChangeKeyRequired(ResponseMessageError):
    pass

Ancestors

class ErrorChangeKeyRequiredForWriteOperations (value)

Global error type within this module.

Expand source code
class ErrorChangeKeyRequiredForWriteOperations(ResponseMessageError):
    pass

Ancestors

class ErrorClientDisconnected (value)

Global error type within this module.

Expand source code
class ErrorClientDisconnected(ResponseMessageError):
    pass

Ancestors

class ErrorConnectionFailed (value)

Global error type within this module.

Expand source code
class ErrorConnectionFailed(ResponseMessageError):
    pass

Ancestors

class ErrorConnectionFailedTransientError (value)

Global error type within this module.

Expand source code
class ErrorConnectionFailedTransientError(ResponseMessageError):
    pass

Ancestors

class ErrorContainsFilterWrongType (value)

Global error type within this module.

Expand source code
class ErrorContainsFilterWrongType(ResponseMessageError):
    pass

Ancestors

class ErrorContentConversionFailed (value)

Global error type within this module.

Expand source code
class ErrorContentConversionFailed(ResponseMessageError):
    pass

Ancestors

class ErrorCorruptData (value)

Global error type within this module.

Expand source code
class ErrorCorruptData(ResponseMessageError):
    pass

Ancestors

class ErrorCreateItemAccessDenied (value)

Global error type within this module.

Expand source code
class ErrorCreateItemAccessDenied(ResponseMessageError):
    pass

Ancestors

class ErrorCreateManagedFolderPartialCompletion (value)

Global error type within this module.

Expand source code
class ErrorCreateManagedFolderPartialCompletion(ResponseMessageError):
    pass

Ancestors

class ErrorCreateSubfolderAccessDenied (value)

Global error type within this module.

Expand source code
class ErrorCreateSubfolderAccessDenied(ResponseMessageError):
    pass

Ancestors

class ErrorCrossMailboxMoveCopy (value)

Global error type within this module.

Expand source code
class ErrorCrossMailboxMoveCopy(ResponseMessageError):
    pass

Ancestors

class ErrorCrossSiteRequest (value)

Global error type within this module.

Expand source code
class ErrorCrossSiteRequest(ResponseMessageError):
    pass

Ancestors

class ErrorDataSizeLimitExceeded (value)

Global error type within this module.

Expand source code
class ErrorDataSizeLimitExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorDataSourceOperation (value)

Global error type within this module.

Expand source code
class ErrorDataSourceOperation(ResponseMessageError):
    pass

Ancestors

class ErrorDelegateAlreadyExists (value)

Global error type within this module.

Expand source code
class ErrorDelegateAlreadyExists(ResponseMessageError):
    pass

Ancestors

class ErrorDelegateCannotAddOwner (value)

Global error type within this module.

Expand source code
class ErrorDelegateCannotAddOwner(ResponseMessageError):
    pass

Ancestors

class ErrorDelegateMissingConfiguration (value)

Global error type within this module.

Expand source code
class ErrorDelegateMissingConfiguration(ResponseMessageError):
    pass

Ancestors

class ErrorDelegateNoUser (value)

Global error type within this module.

Expand source code
class ErrorDelegateNoUser(ResponseMessageError):
    pass

Ancestors

class ErrorDelegateValidationFailed (value)

Global error type within this module.

Expand source code
class ErrorDelegateValidationFailed(ResponseMessageError):
    pass

Ancestors

class ErrorDeleteDistinguishedFolder (value)

Global error type within this module.

Expand source code
class ErrorDeleteDistinguishedFolder(ResponseMessageError):
    pass

Ancestors

class ErrorDeleteItemsFailed (value)

Global error type within this module.

Expand source code
class ErrorDeleteItemsFailed(ResponseMessageError):
    pass

Ancestors

class ErrorDistinguishedUserNotSupported (value)

Global error type within this module.

Expand source code
class ErrorDistinguishedUserNotSupported(ResponseMessageError):
    pass

Ancestors

class ErrorDistributionListMemberNotExist (value)

Global error type within this module.

Expand source code
class ErrorDistributionListMemberNotExist(ResponseMessageError):
    pass

Ancestors

class ErrorDuplicateInputFolderNames (value)

Global error type within this module.

Expand source code
class ErrorDuplicateInputFolderNames(ResponseMessageError):
    pass

Ancestors

class ErrorDuplicateSOAPHeader (value)

Global error type within this module.

Expand source code
class ErrorDuplicateSOAPHeader(ResponseMessageError):
    pass

Ancestors

class ErrorDuplicateUserIdsSpecified (value)

Global error type within this module.

Expand source code
class ErrorDuplicateUserIdsSpecified(ResponseMessageError):
    pass

Ancestors

class ErrorEmailAddressMismatch (value)

Global error type within this module.

Expand source code
class ErrorEmailAddressMismatch(ResponseMessageError):
    pass

Ancestors

class ErrorEventNotFound (value)

Global error type within this module.

Expand source code
class ErrorEventNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorExceededConnectionCount (value)

Global error type within this module.

Expand source code
class ErrorExceededConnectionCount(ResponseMessageError):
    pass

Ancestors

class ErrorExceededFindCountLimit (value)

Global error type within this module.

Expand source code
class ErrorExceededFindCountLimit(ResponseMessageError):
    pass

Ancestors

class ErrorExceededSubscriptionCount (value)

Global error type within this module.

Expand source code
class ErrorExceededSubscriptionCount(ResponseMessageError):
    pass

Ancestors

class ErrorExpiredSubscription (value)

Global error type within this module.

Expand source code
class ErrorExpiredSubscription(ResponseMessageError):
    pass

Ancestors

class ErrorFolderCorrupt (value)

Global error type within this module.

Expand source code
class ErrorFolderCorrupt(ResponseMessageError):
    pass

Ancestors

class ErrorFolderExists (value)

Global error type within this module.

Expand source code
class ErrorFolderExists(ResponseMessageError):
    pass

Ancestors

class ErrorFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorFolderPropertyRequestFailed (value)

Global error type within this module.

Expand source code
class ErrorFolderPropertyRequestFailed(ResponseMessageError):
    pass

Ancestors

class ErrorFolderSave (value)

Global error type within this module.

Expand source code
class ErrorFolderSave(ResponseMessageError):
    pass

Ancestors

class ErrorFolderSaveFailed (value)

Global error type within this module.

Expand source code
class ErrorFolderSaveFailed(ResponseMessageError):
    pass

Ancestors

class ErrorFolderSavePropertyError (value)

Global error type within this module.

Expand source code
class ErrorFolderSavePropertyError(ResponseMessageError):
    pass

Ancestors

class ErrorFreeBusyDLLimitReached (value)

Global error type within this module.

Expand source code
class ErrorFreeBusyDLLimitReached(ResponseMessageError):
    pass

Ancestors

class ErrorFreeBusyGenerationFailed (value)

Global error type within this module.

Expand source code
class ErrorFreeBusyGenerationFailed(ResponseMessageError):
    pass

Ancestors

class ErrorGetServerSecurityDescriptorFailed (value)

Global error type within this module.

Expand source code
class ErrorGetServerSecurityDescriptorFailed(ResponseMessageError):
    pass

Ancestors

class ErrorIPGatewayNotFound (value)

Global error type within this module.

Expand source code
class ErrorIPGatewayNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorImpersonateUserDenied (value)

Global error type within this module.

Expand source code
class ErrorImpersonateUserDenied(ResponseMessageError):
    pass

Ancestors

class ErrorImpersonationDenied (value)

Global error type within this module.

Expand source code
class ErrorImpersonationDenied(ResponseMessageError):
    pass

Ancestors

class ErrorImpersonationFailed (value)

Global error type within this module.

Expand source code
class ErrorImpersonationFailed(ResponseMessageError):
    pass

Ancestors

class ErrorInboxRulesValidationError (value)

Global error type within this module.

Expand source code
class ErrorInboxRulesValidationError(ResponseMessageError):
    pass

Ancestors

class ErrorIncorrectSchemaVersion (value)

Global error type within this module.

Expand source code
class ErrorIncorrectSchemaVersion(ResponseMessageError):
    pass

Ancestors

class ErrorIncorrectUpdatePropertyCount (value)

Global error type within this module.

Expand source code
class ErrorIncorrectUpdatePropertyCount(ResponseMessageError):
    pass

Ancestors

class ErrorIndividualMailboxLimitReached (value)

Global error type within this module.

Expand source code
class ErrorIndividualMailboxLimitReached(ResponseMessageError):
    pass

Ancestors

class ErrorInsufficientResources (value)

Global error type within this module.

Expand source code
class ErrorInsufficientResources(ResponseMessageError):
    pass

Ancestors

class ErrorInternalServerError (value)

Global error type within this module.

Expand source code
class ErrorInternalServerError(ResponseMessageError):
    pass

Ancestors

class ErrorInternalServerTransientError (value)

Global error type within this module.

Expand source code
class ErrorInternalServerTransientError(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidAccessLevel (value)

Global error type within this module.

Expand source code
class ErrorInvalidAccessLevel(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidArgument (value)

Global error type within this module.

Expand source code
class ErrorInvalidArgument(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidAttachmentId (value)

Global error type within this module.

Expand source code
class ErrorInvalidAttachmentId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidAttachmentSubfilter (value)

Global error type within this module.

Expand source code
class ErrorInvalidAttachmentSubfilter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidAttachmentSubfilterTextFilter (value)

Global error type within this module.

Expand source code
class ErrorInvalidAttachmentSubfilterTextFilter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidAuthorizationContext (value)

Global error type within this module.

Expand source code
class ErrorInvalidAuthorizationContext(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidChangeKey (value)

Global error type within this module.

Expand source code
class ErrorInvalidChangeKey(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidClientSecurityContext (value)

Global error type within this module.

Expand source code
class ErrorInvalidClientSecurityContext(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidCompleteDate (value)

Global error type within this module.

Expand source code
class ErrorInvalidCompleteDate(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidContactEmailAddress (value)

Global error type within this module.

Expand source code
class ErrorInvalidContactEmailAddress(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidContactEmailIndex (value)

Global error type within this module.

Expand source code
class ErrorInvalidContactEmailIndex(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidCrossForestCredentials (value)

Global error type within this module.

Expand source code
class ErrorInvalidCrossForestCredentials(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidDelegatePermission (value)

Global error type within this module.

Expand source code
class ErrorInvalidDelegatePermission(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidDelegateUserId (value)

Global error type within this module.

Expand source code
class ErrorInvalidDelegateUserId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExchangeImpersonationHeaderData (value)

Global error type within this module.

Expand source code
class ErrorInvalidExchangeImpersonationHeaderData(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExcludesRestriction (value)

Global error type within this module.

Expand source code
class ErrorInvalidExcludesRestriction(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExpressionTypeForSubFilter (value)

Global error type within this module.

Expand source code
class ErrorInvalidExpressionTypeForSubFilter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExtendedProperty (value)

Global error type within this module.

Expand source code
class ErrorInvalidExtendedProperty(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExtendedPropertyValue (value)

Global error type within this module.

Expand source code
class ErrorInvalidExtendedPropertyValue(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExternalSharingInitiator (value)

Global error type within this module.

Expand source code
class ErrorInvalidExternalSharingInitiator(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidExternalSharingSubscriber (value)

Global error type within this module.

Expand source code
class ErrorInvalidExternalSharingSubscriber(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidFederatedOrganizationId (value)

Global error type within this module.

Expand source code
class ErrorInvalidFederatedOrganizationId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidFolderId (value)

Global error type within this module.

Expand source code
class ErrorInvalidFolderId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidFolderTypeForOperation (value)

Global error type within this module.

Expand source code
class ErrorInvalidFolderTypeForOperation(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidFractionalPagingParameters (value)

Global error type within this module.

Expand source code
class ErrorInvalidFractionalPagingParameters(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidFreeBusyViewType (value)

Global error type within this module.

Expand source code
class ErrorInvalidFreeBusyViewType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidGetSharingFolderRequest (value)

Global error type within this module.

Expand source code
class ErrorInvalidGetSharingFolderRequest(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidId (value)

Global error type within this module.

Expand source code
class ErrorInvalidId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdEmpty (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdEmpty(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdMalformed (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdMalformed(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdMalformedEwsLegacyIdFormat (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdMalformedEwsLegacyIdFormat(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdMonikerTooLong (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdMonikerTooLong(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdNotAnItemAttachmentId (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdNotAnItemAttachmentId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdReturnedByResolveNames (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdReturnedByResolveNames(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdStoreObjectIdTooLong (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdStoreObjectIdTooLong(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdTooManyAttachmentLevels (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdTooManyAttachmentLevels(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIdXml (value)

Global error type within this module.

Expand source code
class ErrorInvalidIdXml(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidIndexedPagingParameters (value)

Global error type within this module.

Expand source code
class ErrorInvalidIndexedPagingParameters(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidInternetHeaderChildNodes (value)

Global error type within this module.

Expand source code
class ErrorInvalidInternetHeaderChildNodes(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationAcceptItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationAcceptItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationCancelItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationCancelItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationCreateItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationCreateItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationCreateItemAttachment (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationCreateItemAttachment(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationDeclineItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationDeclineItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationExpandDL (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationExpandDL(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationRemoveItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationRemoveItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationSendItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationSendItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidItemForOperationTentative (value)

Global error type within this module.

Expand source code
class ErrorInvalidItemForOperationTentative(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidLicense (value)

Global error type within this module.

Expand source code
class ErrorInvalidLicense(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidLogonType (value)

Global error type within this module.

Expand source code
class ErrorInvalidLogonType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidMailbox (value)

Global error type within this module.

Expand source code
class ErrorInvalidMailbox(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidManagedFolderProperty (value)

Global error type within this module.

Expand source code
class ErrorInvalidManagedFolderProperty(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidManagedFolderQuota (value)

Global error type within this module.

Expand source code
class ErrorInvalidManagedFolderQuota(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidManagedFolderSize (value)

Global error type within this module.

Expand source code
class ErrorInvalidManagedFolderSize(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidMergedFreeBusyInterval (value)

Global error type within this module.

Expand source code
class ErrorInvalidMergedFreeBusyInterval(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidNameForNameResolution (value)

Global error type within this module.

Expand source code
class ErrorInvalidNameForNameResolution(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidNetworkServiceContext (value)

Global error type within this module.

Expand source code
class ErrorInvalidNetworkServiceContext(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidOofParameter (value)

Global error type within this module.

Expand source code
class ErrorInvalidOofParameter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidOperation (value)

Global error type within this module.

Expand source code
class ErrorInvalidOperation(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidOrganizationRelationshipForFreeBusy (value)

Global error type within this module.

Expand source code
class ErrorInvalidOrganizationRelationshipForFreeBusy(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPagingMaxRows (value)

Global error type within this module.

Expand source code
class ErrorInvalidPagingMaxRows(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidParentFolder (value)

Global error type within this module.

Expand source code
class ErrorInvalidParentFolder(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPercentCompleteValue (value)

Global error type within this module.

Expand source code
class ErrorInvalidPercentCompleteValue(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPermissionSettings (value)

Global error type within this module.

Expand source code
class ErrorInvalidPermissionSettings(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPhoneCallId (value)

Global error type within this module.

Expand source code
class ErrorInvalidPhoneCallId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPhoneNumber (value)

Global error type within this module.

Expand source code
class ErrorInvalidPhoneNumber(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyAppend (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyAppend(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyDelete (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyDelete(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyForExists (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyForExists(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyForOperation (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyForOperation(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyRequest (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyRequest(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertySet (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertySet(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPropertyUpdateSentMessage (value)

Global error type within this module.

Expand source code
class ErrorInvalidPropertyUpdateSentMessage(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidProxySecurityContext (value)

Global error type within this module.

Expand source code
class ErrorInvalidProxySecurityContext(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPullSubscriptionId (value)

Global error type within this module.

Expand source code
class ErrorInvalidPullSubscriptionId(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidPushSubscriptionUrl (value)

Global error type within this module.

Expand source code
class ErrorInvalidPushSubscriptionUrl(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRecipientSubfilter (value)

Global error type within this module.

Expand source code
class ErrorInvalidRecipientSubfilter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRecipientSubfilterComparison (value)

Global error type within this module.

Expand source code
class ErrorInvalidRecipientSubfilterComparison(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRecipientSubfilterOrder (value)

Global error type within this module.

Expand source code
class ErrorInvalidRecipientSubfilterOrder(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRecipientSubfilterTextFilter (value)

Global error type within this module.

Expand source code
class ErrorInvalidRecipientSubfilterTextFilter(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRecipients (value)

Global error type within this module.

Expand source code
class ErrorInvalidRecipients(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidReferenceItem (value)

Global error type within this module.

Expand source code
class ErrorInvalidReferenceItem(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRequest (value)

Global error type within this module.

Expand source code
class ErrorInvalidRequest(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRestriction (value)

Global error type within this module.

Expand source code
class ErrorInvalidRestriction(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidRoutingType (value)

Global error type within this module.

Expand source code
class ErrorInvalidRoutingType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSIPUri (value)

Global error type within this module.

Expand source code
class ErrorInvalidSIPUri(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidScheduledOofDuration (value)

Global error type within this module.

Expand source code
class ErrorInvalidScheduledOofDuration(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSchemaVersionForMailboxVersion (value)

Global error type within this module.

Expand source code
class ErrorInvalidSchemaVersionForMailboxVersion(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSecurityDescriptor (value)

Global error type within this module.

Expand source code
class ErrorInvalidSecurityDescriptor(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSendItemSaveSettings (value)

Global error type within this module.

Expand source code
class ErrorInvalidSendItemSaveSettings(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSerializedAccessToken (value)

Global error type within this module.

Expand source code
class ErrorInvalidSerializedAccessToken(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidServerVersion (value)

Global error type within this module.

Expand source code
class ErrorInvalidServerVersion(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSharingData (value)

Global error type within this module.

Expand source code
class ErrorInvalidSharingData(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSharingMessage (value)

Global error type within this module.

Expand source code
class ErrorInvalidSharingMessage(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSid (value)

Global error type within this module.

Expand source code
class ErrorInvalidSid(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSmtpAddress (value)

Global error type within this module.

Expand source code
class ErrorInvalidSmtpAddress(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSubfilterType (value)

Global error type within this module.

Expand source code
class ErrorInvalidSubfilterType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSubfilterTypeNotAttendeeType (value)

Global error type within this module.

Expand source code
class ErrorInvalidSubfilterTypeNotAttendeeType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSubfilterTypeNotRecipientType (value)

Global error type within this module.

Expand source code
class ErrorInvalidSubfilterTypeNotRecipientType(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSubscription (value)

Global error type within this module.

Expand source code
class ErrorInvalidSubscription(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSubscriptionRequest (value)

Global error type within this module.

Expand source code
class ErrorInvalidSubscriptionRequest(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidSyncStateData (value)

Global error type within this module.

Expand source code
class ErrorInvalidSyncStateData(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidTimeInterval (value)

Global error type within this module.

Expand source code
class ErrorInvalidTimeInterval(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidUserInfo (value)

Global error type within this module.

Expand source code
class ErrorInvalidUserInfo(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidUserOofSettings (value)

Global error type within this module.

Expand source code
class ErrorInvalidUserOofSettings(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidUserPrincipalName (value)

Global error type within this module.

Expand source code
class ErrorInvalidUserPrincipalName(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidUserSid (value)

Global error type within this module.

Expand source code
class ErrorInvalidUserSid(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidUserSidMissingUPN (value)

Global error type within this module.

Expand source code
class ErrorInvalidUserSidMissingUPN(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidValueForProperty (value)

Global error type within this module.

Expand source code
class ErrorInvalidValueForProperty(ResponseMessageError):
    pass

Ancestors

class ErrorInvalidWatermark (value)

Global error type within this module.

Expand source code
class ErrorInvalidWatermark(ResponseMessageError):
    pass

Ancestors

class ErrorIrresolvableConflict (value)

Global error type within this module.

Expand source code
class ErrorIrresolvableConflict(ResponseMessageError):
    pass

Ancestors

class ErrorItemCorrupt (value)

Global error type within this module.

Expand source code
class ErrorItemCorrupt(ResponseMessageError):
    pass

Ancestors

class ErrorItemNotFound (value)

Global error type within this module.

Expand source code
class ErrorItemNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorItemPropertyRequestFailed (value)

Global error type within this module.

Expand source code
class ErrorItemPropertyRequestFailed(ResponseMessageError):
    pass

Ancestors

class ErrorItemSave (value)

Global error type within this module.

Expand source code
class ErrorItemSave(ResponseMessageError):
    pass

Ancestors

class ErrorItemSavePropertyError (value)

Global error type within this module.

Expand source code
class ErrorItemSavePropertyError(ResponseMessageError):
    pass

Ancestors

class ErrorLegacyMailboxFreeBusyViewTypeNotMerged (value)

Global error type within this module.

Expand source code
class ErrorLegacyMailboxFreeBusyViewTypeNotMerged(ResponseMessageError):
    pass

Ancestors

class ErrorLocalServerObjectNotFound (value)

Global error type within this module.

Expand source code
class ErrorLocalServerObjectNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorLogonAsNetworkServiceFailed (value)

Global error type within this module.

Expand source code
class ErrorLogonAsNetworkServiceFailed(ResponseMessageError):
    pass

Ancestors

class ErrorMailRecipientNotFound (value)

Global error type within this module.

Expand source code
class ErrorMailRecipientNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorMailTipsDisabled (value)

Global error type within this module.

Expand source code
class ErrorMailTipsDisabled(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxConfiguration (value)

Global error type within this module.

Expand source code
class ErrorMailboxConfiguration(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxDataArrayEmpty (value)

Global error type within this module.

Expand source code
class ErrorMailboxDataArrayEmpty(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxDataArrayTooBig (value)

Global error type within this module.

Expand source code
class ErrorMailboxDataArrayTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxFailover (value)

Global error type within this module.

Expand source code
class ErrorMailboxFailover(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxLogonFailed (value)

Global error type within this module.

Expand source code
class ErrorMailboxLogonFailed(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxMoveInProgress (value)

Global error type within this module.

Expand source code
class ErrorMailboxMoveInProgress(ResponseMessageError):
    pass

Ancestors

class ErrorMailboxStoreUnavailable (value)

Global error type within this module.

Expand source code
class ErrorMailboxStoreUnavailable(ResponseMessageError):
    pass

Ancestors

class ErrorManagedFolderAlreadyExists (value)

Global error type within this module.

Expand source code
class ErrorManagedFolderAlreadyExists(ResponseMessageError):
    pass

Ancestors

class ErrorManagedFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorManagedFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorManagedFoldersRootFailure (value)

Global error type within this module.

Expand source code
class ErrorManagedFoldersRootFailure(ResponseMessageError):
    pass

Ancestors

class ErrorMeetingSuggestionGenerationFailed (value)

Global error type within this module.

Expand source code
class ErrorMeetingSuggestionGenerationFailed(ResponseMessageError):
    pass

Ancestors

class ErrorMessageDispositionRequired (value)

Global error type within this module.

Expand source code
class ErrorMessageDispositionRequired(ResponseMessageError):
    pass

Ancestors

class ErrorMessageSizeExceeded (value)

Global error type within this module.

Expand source code
class ErrorMessageSizeExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorMessageTrackingNoSuchDomain (value)

Global error type within this module.

Expand source code
class ErrorMessageTrackingNoSuchDomain(ResponseMessageError):
    pass

Ancestors

class ErrorMessageTrackingPermanentError (value)

Global error type within this module.

Expand source code
class ErrorMessageTrackingPermanentError(ResponseMessageError):
    pass

Ancestors

class ErrorMessageTrackingTransientError (value)

Global error type within this module.

Expand source code
class ErrorMessageTrackingTransientError(ResponseMessageError):
    pass

Ancestors

class ErrorMimeContentConversionFailed (value)

Global error type within this module.

Expand source code
class ErrorMimeContentConversionFailed(ResponseMessageError):
    pass

Ancestors

class ErrorMimeContentInvalid (value)

Global error type within this module.

Expand source code
class ErrorMimeContentInvalid(ResponseMessageError):
    pass

Ancestors

class ErrorMimeContentInvalidBase64String (value)

Global error type within this module.

Expand source code
class ErrorMimeContentInvalidBase64String(ResponseMessageError):
    pass

Ancestors

class ErrorMissedNotificationEvents (value)

Global error type within this module.

Expand source code
class ErrorMissedNotificationEvents(ResponseMessageError):
    pass

Ancestors

class ErrorMissingArgument (value)

Global error type within this module.

Expand source code
class ErrorMissingArgument(ResponseMessageError):
    pass

Ancestors

class ErrorMissingEmailAddress (value)

Global error type within this module.

Expand source code
class ErrorMissingEmailAddress(ResponseMessageError):
    pass

Ancestors

class ErrorMissingEmailAddressForManagedFolder (value)

Global error type within this module.

Expand source code
class ErrorMissingEmailAddressForManagedFolder(ResponseMessageError):
    pass

Ancestors

class ErrorMissingInformationEmailAddress (value)

Global error type within this module.

Expand source code
class ErrorMissingInformationEmailAddress(ResponseMessageError):
    pass

Ancestors

class ErrorMissingInformationReferenceItemId (value)

Global error type within this module.

Expand source code
class ErrorMissingInformationReferenceItemId(ResponseMessageError):
    pass

Ancestors

class ErrorMissingInformationSharingFolderId (value)

Global error type within this module.

Expand source code
class ErrorMissingInformationSharingFolderId(ResponseMessageError):
    pass

Ancestors

class ErrorMissingItemForCreateItemAttachment (value)

Global error type within this module.

Expand source code
class ErrorMissingItemForCreateItemAttachment(ResponseMessageError):
    pass

Ancestors

class ErrorMissingManagedFolderId (value)

Global error type within this module.

Expand source code
class ErrorMissingManagedFolderId(ResponseMessageError):
    pass

Ancestors

class ErrorMissingRecipients (value)

Global error type within this module.

Expand source code
class ErrorMissingRecipients(ResponseMessageError):
    pass

Ancestors

class ErrorMissingUserIdInformation (value)

Global error type within this module.

Expand source code
class ErrorMissingUserIdInformation(ResponseMessageError):
    pass

Ancestors

class ErrorMoreThanOneAccessModeSpecified (value)

Global error type within this module.

Expand source code
class ErrorMoreThanOneAccessModeSpecified(ResponseMessageError):
    pass

Ancestors

class ErrorMoveCopyFailed (value)

Global error type within this module.

Expand source code
class ErrorMoveCopyFailed(ResponseMessageError):
    pass

Ancestors

class ErrorMoveDistinguishedFolder (value)

Global error type within this module.

Expand source code
class ErrorMoveDistinguishedFolder(ResponseMessageError):
    pass

Ancestors

class ErrorNameResolutionMultipleResults (value)

Global error type within this module.

Expand source code
class ErrorNameResolutionMultipleResults(ResponseMessageError):
    pass

Ancestors

class ErrorNameResolutionNoMailbox (value)

Global error type within this module.

Expand source code
class ErrorNameResolutionNoMailbox(ResponseMessageError):
    pass

Ancestors

class ErrorNameResolutionNoResults (value)

Global error type within this module.

Expand source code
class ErrorNameResolutionNoResults(ResponseMessageError):
    pass

Ancestors

class ErrorNewEventStreamConnectionOpened (value)

Global error type within this module.

Expand source code
class ErrorNewEventStreamConnectionOpened(ResponseMessageError):
    pass

Ancestors

class ErrorNoApplicableProxyCASServersAvailable (value)

Global error type within this module.

Expand source code
class ErrorNoApplicableProxyCASServersAvailable(ResponseMessageError):
    pass

Ancestors

class ErrorNoCalendar (value)

Global error type within this module.

Expand source code
class ErrorNoCalendar(ResponseMessageError):
    pass

Ancestors

class ErrorNoDestinationCASDueToKerberosRequirements (value)

Global error type within this module.

Expand source code
class ErrorNoDestinationCASDueToKerberosRequirements(ResponseMessageError):
    pass

Ancestors

class ErrorNoDestinationCASDueToSSLRequirements (value)

Global error type within this module.

Expand source code
class ErrorNoDestinationCASDueToSSLRequirements(ResponseMessageError):
    pass

Ancestors

class ErrorNoDestinationCASDueToVersionMismatch (value)

Global error type within this module.

Expand source code
class ErrorNoDestinationCASDueToVersionMismatch(ResponseMessageError):
    pass

Ancestors

class ErrorNoFolderClassOverride (value)

Global error type within this module.

Expand source code
class ErrorNoFolderClassOverride(ResponseMessageError):
    pass

Ancestors

class ErrorNoFreeBusyAccess (value)

Global error type within this module.

Expand source code
class ErrorNoFreeBusyAccess(ResponseMessageError):
    pass

Ancestors

class ErrorNoPropertyTagForCustomProperties (value)

Global error type within this module.

Expand source code
class ErrorNoPropertyTagForCustomProperties(ResponseMessageError):
    pass

Ancestors

class ErrorNoPublicFolderReplicaAvailable (value)

Global error type within this module.

Expand source code
class ErrorNoPublicFolderReplicaAvailable(ResponseMessageError):
    pass

Ancestors

class ErrorNoPublicFolderServerAvailable (value)

Global error type within this module.

Expand source code
class ErrorNoPublicFolderServerAvailable(ResponseMessageError):
    pass

Ancestors

class ErrorNoRespondingCASInDestinationSite (value)

Global error type within this module.

Expand source code
class ErrorNoRespondingCASInDestinationSite(ResponseMessageError):
    pass

Ancestors

class ErrorNonExistentMailbox (value)

Global error type within this module.

Expand source code
class ErrorNonExistentMailbox(ResponseMessageError):
    pass

Ancestors

class ErrorNonPrimarySmtpAddress (value)

Global error type within this module.

Expand source code
class ErrorNonPrimarySmtpAddress(ResponseMessageError):
    pass

Ancestors

class ErrorNotAllowedExternalSharingByPolicy (value)

Global error type within this module.

Expand source code
class ErrorNotAllowedExternalSharingByPolicy(ResponseMessageError):
    pass

Ancestors

class ErrorNotDelegate (value)

Global error type within this module.

Expand source code
class ErrorNotDelegate(ResponseMessageError):
    pass

Ancestors

class ErrorNotEnoughMemory (value)

Global error type within this module.

Expand source code
class ErrorNotEnoughMemory(ResponseMessageError):
    pass

Ancestors

class ErrorNotSupportedSharingMessage (value)

Global error type within this module.

Expand source code
class ErrorNotSupportedSharingMessage(ResponseMessageError):
    pass

Ancestors

class ErrorObjectTypeChanged (value)

Global error type within this module.

Expand source code
class ErrorObjectTypeChanged(ResponseMessageError):
    pass

Ancestors

class ErrorOccurrenceCrossingBoundary (value)

Global error type within this module.

Expand source code
class ErrorOccurrenceCrossingBoundary(ResponseMessageError):
    pass

Ancestors

class ErrorOccurrenceTimeSpanTooBig (value)

Global error type within this module.

Expand source code
class ErrorOccurrenceTimeSpanTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorOperationNotAllowedWithPublicFolderRoot (value)

Global error type within this module.

Expand source code
class ErrorOperationNotAllowedWithPublicFolderRoot(ResponseMessageError):
    pass

Ancestors

class ErrorOrganizationNotFederated (value)

Global error type within this module.

Expand source code
class ErrorOrganizationNotFederated(ResponseMessageError):
    pass

Ancestors

class ErrorOutlookRuleBlobExists (value)

Global error type within this module.

Expand source code
class ErrorOutlookRuleBlobExists(ResponseMessageError):
    pass

Ancestors

class ErrorParentFolderIdRequired (value)

Global error type within this module.

Expand source code
class ErrorParentFolderIdRequired(ResponseMessageError):
    pass

Ancestors

class ErrorParentFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorParentFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorPasswordChangeRequired (value)

Global error type within this module.

Expand source code
class ErrorPasswordChangeRequired(ResponseMessageError):
    pass

Ancestors

class ErrorPasswordExpired (value)

Global error type within this module.

Expand source code
class ErrorPasswordExpired(ResponseMessageError):
    pass

Ancestors

class ErrorPermissionNotAllowedByPolicy (value)

Global error type within this module.

Expand source code
class ErrorPermissionNotAllowedByPolicy(ResponseMessageError):
    pass

Ancestors

class ErrorPhoneNumberNotDialable (value)

Global error type within this module.

Expand source code
class ErrorPhoneNumberNotDialable(ResponseMessageError):
    pass

Ancestors

class ErrorPropertyUpdate (value)

Global error type within this module.

Expand source code
class ErrorPropertyUpdate(ResponseMessageError):
    pass

Ancestors

class ErrorPropertyValidationFailure (value)

Global error type within this module.

Expand source code
class ErrorPropertyValidationFailure(ResponseMessageError):
    pass

Ancestors

class ErrorProxiedSubscriptionCallFailure (value)

Global error type within this module.

Expand source code
class ErrorProxiedSubscriptionCallFailure(ResponseMessageError):
    pass

Ancestors

class ErrorProxyCallFailed (value)

Global error type within this module.

Expand source code
class ErrorProxyCallFailed(ResponseMessageError):
    pass

Ancestors

class ErrorProxyGroupSidLimitExceeded (value)

Global error type within this module.

Expand source code
class ErrorProxyGroupSidLimitExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorProxyRequestNotAllowed (value)

Global error type within this module.

Expand source code
class ErrorProxyRequestNotAllowed(ResponseMessageError):
    pass

Ancestors

class ErrorProxyRequestProcessingFailed (value)

Global error type within this module.

Expand source code
class ErrorProxyRequestProcessingFailed(ResponseMessageError):
    pass

Ancestors

class ErrorProxyServiceDiscoveryFailed (value)

Global error type within this module.

Expand source code
class ErrorProxyServiceDiscoveryFailed(ResponseMessageError):
    pass

Ancestors

class ErrorProxyTokenExpired (value)

Global error type within this module.

Expand source code
class ErrorProxyTokenExpired(ResponseMessageError):
    pass

Ancestors

class ErrorPublicFolderRequestProcessingFailed (value)

Global error type within this module.

Expand source code
class ErrorPublicFolderRequestProcessingFailed(ResponseMessageError):
    pass

Ancestors

class ErrorPublicFolderServerNotFound (value)

Global error type within this module.

Expand source code
class ErrorPublicFolderServerNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorQueryFilterTooLong (value)

Global error type within this module.

Expand source code
class ErrorQueryFilterTooLong(ResponseMessageError):
    pass

Ancestors

class ErrorQuotaExceeded (value)

Global error type within this module.

Expand source code
class ErrorQuotaExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorReadEventsFailed (value)

Global error type within this module.

Expand source code
class ErrorReadEventsFailed(ResponseMessageError):
    pass

Ancestors

class ErrorReadReceiptNotPending (value)

Global error type within this module.

Expand source code
class ErrorReadReceiptNotPending(ResponseMessageError):
    pass

Ancestors

class ErrorRecoverableItemsAccessDenied (value)

Global error type within this module.

Expand source code
class ErrorRecoverableItemsAccessDenied(ResponseMessageError):
    pass

Ancestors

class ErrorRecurrenceEndDateTooBig (value)

Global error type within this module.

Expand source code
class ErrorRecurrenceEndDateTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorRecurrenceHasNoOccurrence (value)

Global error type within this module.

Expand source code
class ErrorRecurrenceHasNoOccurrence(ResponseMessageError):
    pass

Ancestors

class ErrorRemoveDelegatesFailed (value)

Global error type within this module.

Expand source code
class ErrorRemoveDelegatesFailed(ResponseMessageError):
    pass

Ancestors

class ErrorRequestAborted (value)

Global error type within this module.

Expand source code
class ErrorRequestAborted(ResponseMessageError):
    pass

Ancestors

class ErrorRequestStreamTooBig (value)

Global error type within this module.

Expand source code
class ErrorRequestStreamTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorRequiredPropertyMissing (value)

Global error type within this module.

Expand source code
class ErrorRequiredPropertyMissing(ResponseMessageError):
    pass

Ancestors

class ErrorResolveNamesInvalidFolderType (value)

Global error type within this module.

Expand source code
class ErrorResolveNamesInvalidFolderType(ResponseMessageError):
    pass

Ancestors

class ErrorResolveNamesOnlyOneContactsFolderAllowed (value)

Global error type within this module.

Expand source code
class ErrorResolveNamesOnlyOneContactsFolderAllowed(ResponseMessageError):
    pass

Ancestors

class ErrorResponseSchemaValidation (value)

Global error type within this module.

Expand source code
class ErrorResponseSchemaValidation(ResponseMessageError):
    pass

Ancestors

class ErrorRestrictionTooComplex (value)

Global error type within this module.

Expand source code
class ErrorRestrictionTooComplex(ResponseMessageError):
    pass

Ancestors

class ErrorRestrictionTooLong (value)

Global error type within this module.

Expand source code
class ErrorRestrictionTooLong(ResponseMessageError):
    pass

Ancestors

class ErrorResultSetTooBig (value)

Global error type within this module.

Expand source code
class ErrorResultSetTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorRulesOverQuota (value)

Global error type within this module.

Expand source code
class ErrorRulesOverQuota(ResponseMessageError):
    pass

Ancestors

class ErrorSavedItemFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorSavedItemFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorSchemaValidation (value)

Global error type within this module.

Expand source code
class ErrorSchemaValidation(ResponseMessageError):
    pass

Ancestors

class ErrorSearchFolderNotInitialized (value)

Global error type within this module.

Expand source code
class ErrorSearchFolderNotInitialized(ResponseMessageError):
    pass

Ancestors

class ErrorSendAsDenied (value)

Global error type within this module.

Expand source code
class ErrorSendAsDenied(ResponseMessageError):
    pass

Ancestors

class ErrorSendMeetingCancellationsRequired (value)

Global error type within this module.

Expand source code
class ErrorSendMeetingCancellationsRequired(ResponseMessageError):
    pass

Ancestors

class ErrorSendMeetingInvitationsOrCancellationsRequired (value)

Global error type within this module.

Expand source code
class ErrorSendMeetingInvitationsOrCancellationsRequired(ResponseMessageError):
    pass

Ancestors

class ErrorSendMeetingInvitationsRequired (value)

Global error type within this module.

Expand source code
class ErrorSendMeetingInvitationsRequired(ResponseMessageError):
    pass

Ancestors

class ErrorSentMeetingRequestUpdate (value)

Global error type within this module.

Expand source code
class ErrorSentMeetingRequestUpdate(ResponseMessageError):
    pass

Ancestors

class ErrorSentTaskRequestUpdate (value)

Global error type within this module.

Expand source code
class ErrorSentTaskRequestUpdate(ResponseMessageError):
    pass

Ancestors

class ErrorServerBusy (*args, **kwargs)

Global error type within this module.

Expand source code
class ErrorServerBusy(ResponseMessageError):
    def __init__(self, *args, **kwargs):
        self.back_off = kwargs.pop("back_off", None)  # Requested back off value in seconds
        super().__init__(*args, **kwargs)

Ancestors

class ErrorServiceDiscoveryFailed (value)

Global error type within this module.

Expand source code
class ErrorServiceDiscoveryFailed(ResponseMessageError):
    pass

Ancestors

class ErrorSharingNoExternalEwsAvailable (value)

Global error type within this module.

Expand source code
class ErrorSharingNoExternalEwsAvailable(ResponseMessageError):
    pass

Ancestors

class ErrorSharingSynchronizationFailed (value)

Global error type within this module.

Expand source code
class ErrorSharingSynchronizationFailed(ResponseMessageError):
    pass

Ancestors

class ErrorStaleObject (value)

Global error type within this module.

Expand source code
class ErrorStaleObject(ResponseMessageError):
    pass

Ancestors

class ErrorSubmissionQuotaExceeded (value)

Global error type within this module.

Expand source code
class ErrorSubmissionQuotaExceeded(ResponseMessageError):
    pass

Ancestors

class ErrorSubscriptionAccessDenied (value)

Global error type within this module.

Expand source code
class ErrorSubscriptionAccessDenied(ResponseMessageError):
    pass

Ancestors

class ErrorSubscriptionDelegateAccessNotSupported (value)

Global error type within this module.

Expand source code
class ErrorSubscriptionDelegateAccessNotSupported(ResponseMessageError):
    pass

Ancestors

class ErrorSubscriptionNotFound (value)

Global error type within this module.

Expand source code
class ErrorSubscriptionNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorSubscriptionUnsubsribed (value)

Global error type within this module.

Expand source code
class ErrorSubscriptionUnsubsribed(ResponseMessageError):
    pass

Ancestors

class ErrorSyncFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorSyncFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorTimeIntervalTooBig (value)

Global error type within this module.

Expand source code
class ErrorTimeIntervalTooBig(ResponseMessageError):
    pass

Ancestors

class ErrorTimeZone (value)

Global error type within this module.

Expand source code
class ErrorTimeZone(ResponseMessageError):
    pass

Ancestors

class ErrorTimeoutExpired (value)

Global error type within this module.

Expand source code
class ErrorTimeoutExpired(ResponseMessageError):
    pass

Ancestors

class ErrorToFolderNotFound (value)

Global error type within this module.

Expand source code
class ErrorToFolderNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorTokenSerializationDenied (value)

Global error type within this module.

Expand source code
class ErrorTokenSerializationDenied(ResponseMessageError):
    pass

Ancestors

class ErrorTooManyObjectsOpened (value)

Global error type within this module.

Expand source code
class ErrorTooManyObjectsOpened(ResponseMessageError):
    pass

Ancestors

class ErrorUnableToGetUserOofSettings (value)

Global error type within this module.

Expand source code
class ErrorUnableToGetUserOofSettings(ResponseMessageError):
    pass

Ancestors

class ErrorUnifiedMessagingDialPlanNotFound (value)

Global error type within this module.

Expand source code
class ErrorUnifiedMessagingDialPlanNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorUnifiedMessagingRequestFailed (value)

Global error type within this module.

Expand source code
class ErrorUnifiedMessagingRequestFailed(ResponseMessageError):
    pass

Ancestors

class ErrorUnifiedMessagingServerNotFound (value)

Global error type within this module.

Expand source code
class ErrorUnifiedMessagingServerNotFound(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedCulture (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedCulture(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedMapiPropertyType (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedMapiPropertyType(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedMimeConversion (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedMimeConversion(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedPathForQuery (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedPathForQuery(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedPathForSortGroup (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedPathForSortGroup(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedPropertyDefinition (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedPropertyDefinition(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedQueryFilter (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedQueryFilter(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedRecurrence (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedRecurrence(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedSubFilter (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedSubFilter(ResponseMessageError):
    pass

Ancestors

class ErrorUnsupportedTypeForConversion (value)

Global error type within this module.

Expand source code
class ErrorUnsupportedTypeForConversion(ResponseMessageError):
    pass

Ancestors

class ErrorUpdateDelegatesFailed (value)

Global error type within this module.

Expand source code
class ErrorUpdateDelegatesFailed(ResponseMessageError):
    pass

Ancestors

class ErrorUpdatePropertyMismatch (value)

Global error type within this module.

Expand source code
class ErrorUpdatePropertyMismatch(ResponseMessageError):
    pass

Ancestors

class ErrorUserNotAllowedByPolicy (value)

Global error type within this module.

Expand source code
class ErrorUserNotAllowedByPolicy(ResponseMessageError):
    pass

Ancestors

class ErrorUserNotUnifiedMessagingEnabled (value)

Global error type within this module.

Expand source code
class ErrorUserNotUnifiedMessagingEnabled(ResponseMessageError):
    pass

Ancestors

class ErrorUserWithoutFederatedProxyAddress (value)

Global error type within this module.

Expand source code
class ErrorUserWithoutFederatedProxyAddress(ResponseMessageError):
    pass

Ancestors

class ErrorValueOutOfRange (value)

Global error type within this module.

Expand source code
class ErrorValueOutOfRange(ResponseMessageError):
    pass

Ancestors

class ErrorVirusDetected (value)

Global error type within this module.

Expand source code
class ErrorVirusDetected(ResponseMessageError):
    pass

Ancestors

class ErrorVirusMessageDeleted (value)

Global error type within this module.

Expand source code
class ErrorVirusMessageDeleted(ResponseMessageError):
    pass

Ancestors

class ErrorVoiceMailNotImplemented (value)

Global error type within this module.

Expand source code
class ErrorVoiceMailNotImplemented(ResponseMessageError):
    pass

Ancestors

class ErrorWebRequestInInvalidState (value)

Global error type within this module.

Expand source code
class ErrorWebRequestInInvalidState(ResponseMessageError):
    pass

Ancestors

class ErrorWin32InteropError (value)

Global error type within this module.

Expand source code
class ErrorWin32InteropError(ResponseMessageError):
    pass

Ancestors

class ErrorWorkingHoursSaveFailed (value)

Global error type within this module.

Expand source code
class ErrorWorkingHoursSaveFailed(ResponseMessageError):
    pass

Ancestors

class ErrorWorkingHoursXmlMalformed (value)

Global error type within this module.

Expand source code
class ErrorWorkingHoursXmlMalformed(ResponseMessageError):
    pass

Ancestors

class ErrorWrongServerVersion (value)

Global error type within this module.

Expand source code
class ErrorWrongServerVersion(ResponseMessageError):
    pass

Ancestors

class ErrorWrongServerVersionDelegate (value)

Global error type within this module.

Expand source code
class ErrorWrongServerVersionDelegate(ResponseMessageError):
    pass

Ancestors

class InvalidEnumValue (field_name, value, choices)

Inappropriate argument value (of correct type).

Expand source code
class InvalidEnumValue(ValueError):
    def __init__(self, field_name, value, choices):
        self.field_name = field_name
        self.value = value
        self.choices = choices
        super().__init__(str(self))

    def __str__(self):
        return f"{self.field_name!r} {self.value!r} must be one of {sorted(self.choices)}"

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException
class InvalidTypeError (field_name, value, valid_type)

Inappropriate argument type.

Expand source code
class InvalidTypeError(TypeError):
    def __init__(self, field_name, value, valid_type):
        self.field_name = field_name
        self.value = value
        self.valid_type = valid_type
        super().__init__(str(self))

    def __str__(self):
        return f"{self.field_name!r} {self.value!r} must be of type {self.valid_type}"

Ancestors

  • builtins.TypeError
  • builtins.Exception
  • builtins.BaseException
class MalformedResponseError (value)

Global error type within this module.

Expand source code
class MalformedResponseError(TransportError):
    pass

Ancestors

class MultipleObjectsReturned (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class MultipleObjectsReturned(Exception):
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class NaiveDateTimeNotAllowed (local_dt)

Inappropriate argument value (of correct type).

Expand source code
class NaiveDateTimeNotAllowed(ValueError):
    def __init__(self, local_dt):
        super().__init__()
        self.local_dt = local_dt  # An EWSDateTime instance

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException
class RateLimitError (value, url, status_code, total_wait)

Global error type within this module.

Expand source code
class RateLimitError(TransportError):
    def __init__(self, value, url, status_code, total_wait):
        super().__init__(value)
        self.url = url
        self.status_code = status_code
        self.total_wait = total_wait

    def __str__(self):
        return (
            f"{self.value} (gave up after {self.total_wait:.3f} seconds. "
            f"URL {self.url} returned status code {self.status_code})"
        )

Ancestors

class RedirectError (url)

Global error type within this module.

Expand source code
class RedirectError(TransportError):
    def __init__(self, url):
        parsed_url = urlparse(url)
        self.url = url
        self.server = parsed_url.hostname.lower()
        self.has_ssl = parsed_url.scheme == "https"
        super().__init__(str(self))

    def __str__(self):
        return f"We were redirected to {self.url}"

Ancestors

class RelativeRedirect (value)

Global error type within this module.

Expand source code
class RelativeRedirect(TransportError):
    pass

Ancestors

class ResponseMessageError (value)

Global error type within this module.

Expand source code
class ResponseMessageError(TransportError):
    pass

Ancestors

Subclasses

class SOAPError (value)

Global error type within this module.

Expand source code
class SOAPError(TransportError):
    pass

Ancestors

class SessionPoolMaxSizeReached (value)

Global error type within this module.

Expand source code
class SessionPoolMaxSizeReached(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException
class SessionPoolMinSizeReached (value)

Global error type within this module.

Expand source code
class SessionPoolMinSizeReached(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException
class TransportError (value)

Global error type within this module.

Expand source code
class TransportError(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException

Subclasses

class UnauthorizedError (value)

Global error type within this module.

Expand source code
class UnauthorizedError(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException
class UnknownTimeZone (value)

Global error type within this module.

Expand source code
class UnknownTimeZone(EWSError):
    pass

Ancestors

  • EWSError
  • builtins.Exception
  • builtins.BaseException