namespace AppLimit.CloudComputing.SharpBox.Exceptions { /// /// This enum contains all existing error codes /// which can be used in a SharpBoxException /// public enum SharpBoxErrorCodes { /// /// This error occurs when the cloud storage /// service will be not available via network /// ErrorCouldNotContactStorageService = 1, /// /// This error occurs when a given path is not /// in the correct format, e.g. a directory is /// needed but the path targets a files /// ErrorInvalidFileOrDirectoryName = 2, /// /// This error occurs when a file or path was /// not found behind the given location /// ErrorFileNotFound = 3, /// /// This error occurs when a cloud storage service /// provider was not registered for a specific /// configuration /// ErrorNoValidProviderFound = 4, /// /// This error occurs when the creation of a /// cloud storage service provider was not /// possible. This can happens when the author of /// a provider is doing complex things in the /// constructor of the class /// ErrorCreateProviderInstanceFailed = 5, /// /// This error occurs when the give credentials, e.g. /// Password, UserName, ApplicationKey are wrong /// ErrorInvalidCredentialsOrConfiguration = 6, /// /// This error occures when one or more parameters /// of the called function was wrong /// ErrorInvalidParameters = 7, /// /// This error occurs when the client can't request /// the directory childs from the server /// ErrorCouldNotRetrieveDirectoryList = 8, /// /// This error occurs when a create operation /// failed /// ErrorCreateOperationFailed = 9, /// /// This error occurs when a configured limit /// exceeds /// ErrorLimitExceeded = 10, /// /// This error occures when the storage limit of /// the cloud storage is exceeded /// ErrorInsufficientDiskSpace = 11, /// /// The datatransfer was interrupted from the /// application during a callback /// ErrorTransferAbortedManually = 12, /// /// The operation needs an opened connection /// to the cloud storage, please call the /// open method before! /// ErrorOpenedConnectionNeeded = 13, /// /// This error occurs when consumer /// Key/Secret pair are not valid /// ErrorInvalidConsumerKeySecret = 14 } }