Lines Matching refs:errObj
652 PyObject *errObj = NULL; in makeDBError() local
661 case DB_KEYEMPTY: errObj = DBKeyEmptyError; break; in makeDBError()
662 case DB_KEYEXIST: errObj = DBKeyExistError; break; in makeDBError()
663 case DB_LOCK_DEADLOCK: errObj = DBLockDeadlockError; break; in makeDBError()
664 case DB_LOCK_NOTGRANTED: errObj = DBLockNotGrantedError; break; in makeDBError()
665 case DB_NOTFOUND: errObj = DBNotFoundError; break; in makeDBError()
666 case DB_OLD_VERSION: errObj = DBOldVersionError; break; in makeDBError()
667 case DB_RUNRECOVERY: errObj = DBRunRecoveryError; break; in makeDBError()
668 case DB_VERIFY_BAD: errObj = DBVerifyBadError; break; in makeDBError()
669 case DB_NOSERVER: errObj = DBNoServerError; break; in makeDBError()
671 case DB_NOSERVER_HOME: errObj = DBNoServerHomeError; break; in makeDBError()
672 case DB_NOSERVER_ID: errObj = DBNoServerIDError; break; in makeDBError()
674 case DB_PAGE_NOTFOUND: errObj = DBPageNotFoundError; break; in makeDBError()
675 case DB_SECONDARY_BAD: errObj = DBSecondaryBadError; break; in makeDBError()
676 case DB_BUFFER_SMALL: errObj = DBNoMemoryError; break; in makeDBError()
678 case ENOMEM: errObj = PyExc_MemoryError; break; in makeDBError()
679 case EINVAL: errObj = DBInvalidArgError; break; in makeDBError()
680 case EACCES: errObj = DBAccessError; break; in makeDBError()
681 case ENOSPC: errObj = DBNoSpaceError; break; in makeDBError()
682 case EAGAIN: errObj = DBAgainError; break; in makeDBError()
683 case EBUSY : errObj = DBBusyError; break; in makeDBError()
684 case EEXIST: errObj = DBFileExistsError; break; in makeDBError()
685 case ENOENT: errObj = DBNoSuchFileError; break; in makeDBError()
686 case EPERM : errObj = DBPermissionsError; break; in makeDBError()
688 case DB_REP_HANDLE_DEAD : errObj = DBRepHandleDeadError; break; in makeDBError()
690 case DB_REP_LOCKOUT : errObj = DBRepLockoutError; break; in makeDBError()
694 case DB_REP_LEASE_EXPIRED : errObj = DBRepLeaseExpiredError; break; in makeDBError()
698 case DB_FOREIGN_CONFLICT : errObj = DBForeignConflictError; break; in makeDBError()
701 case DB_REP_UNAVAIL : errObj = DBRepUnavailError; break; in makeDBError()
703 default: errObj = DBError; break; in makeDBError()
706 if (errObj != NULL) { in makeDBError()
719 Py_DECREF(errObj); in makeDBError()
722 PyErr_SetObject(errObj, errTuple); in makeDBError()
726 return ((errObj != NULL) || exceptionRaised); in makeDBError()