Repository¶
Description¶
The Repository object provides access to file resources which can be used e.g. for UpdateManager instances.
› Inherits: | Object |
---|---|
› Inherited by: | LocalRepository |
Properties¶
error¶
This property holds the most recently occurred error or Repository.NoError if no error occurred. If the same error occurs multiple times this property does not change. Use the errorOccurred() signal to detect multiple occurrences of the same error.
› Type: | Error |
---|---|
› Signal: | errorChanged() |
› Attributes: | Readonly |
Signals¶
Enumerations¶
Error¶
This enumeration describes all errors which can occur in Repository objects. The most recently occurred error is stored in the error property.
Name | Value | Description |
---|---|---|
Repository.NoError |
0 |
No error occurred or was detected. |
Repository.ConfigurationError |
1 |
Repository has not been configured properly, e.g. missing or invalid settings. |
Repository.TransportError |
2 |
The underlying transport reported an error, e.g. offline or general communication failure. |
Repository.TimeoutError |
3 |
A timeout occurred while fetching data from the repository. |
Repository.Unavailable |
4 |
Repository is unavailable, e.g. offline or storage drive not plugged in. |