@itwin/core-bentley
Version:
Bentley JavaScript core components
40 lines • 1.8 kB
TypeScript
/** @packageDocumentation
* @module Errors
*/
/** Return codes for methods which perform repository management operations.
* @internal
*/
export declare enum RepositoryStatus {
Success = 0,
/** The repository server did not respond to a request */
ServerUnavailable = 86017,
/** A requested lock was already held by another briefcase */
LockAlreadyHeld = 86018,
/** Failed to sync briefcase manager with server */
SyncError = 86019,
/** Response from server not understood */
InvalidResponse = 86020,
/** An operation requires local changes to be committed or abandoned */
PendingTransactions = 86021,
/** A lock cannot be relinquished because the associated object has been modified */
LockUsed = 86022,
/** An operation required creation of a ChangeSet, which failed */
CannotCreateChangeSet = 86023,
/** Request to server not understood */
InvalidRequest = 86024,
/** A change set committed to the server must be integrated into the briefcase before the operation can be completed */
ChangeSetRequired = 86025,
/** A requested DgnCode is reserved by another briefcase or in use */
CodeUnavailable = 86026,
/** A DgnCode cannot be released because it has not been reserved by the requesting briefcase */
CodeNotReserved = 86027,
/** A DgnCode cannot be relinquished because it has been used locally */
CodeUsed = 86028,
/** A required lock is not held by this briefcase */
LockNotHeld = 86029,
/** Repository is currently locked, no changes allowed */
RepositoryIsLocked = 86030,
/** Channel write constraint violation, such as an attempt to write outside the designated channel. */
ChannelConstraintViolation = 86031
}
//# sourceMappingURL=RepositoryStatus.d.ts.map