mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* feat: Add opt-in support for proxy CA cert installation * fix: Code review fixes * fix: Code review fixes * fix: Code review fixes * fix: Code review fixes * fix: Code review fixes * docs: Add limitation for MacOS MDM script
32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
package errcodes
|
|
|
|
const (
|
|
InvalidArgument = "InvalidArgument"
|
|
PermissionDenied = "PermissionDenied"
|
|
NotFound = "NotFound"
|
|
Timeout = "Timeout"
|
|
Canceled = "Canceled"
|
|
UnexpectedEOF = "UnexpectedEOF"
|
|
Lifecycle = "Lifecycle"
|
|
Network = "Network"
|
|
PackageManagerExecutionFailed = "PackageManagerExecutionFailed"
|
|
BubblewrapNotFound = "BubblewrapNotFound"
|
|
|
|
// Package manager error codes.
|
|
DependencyResolutionFailed = "DependencyResolutionFailed"
|
|
PackageParseFailed = "PackageParseFailed"
|
|
PackageAuthorNotFound = "PackageAuthorNotFound"
|
|
GitHubRateLimitExceeded = "GitHubRateLimitExceeded"
|
|
|
|
// Certificate trust store error codes.
|
|
CertGeneration = "CertGeneration"
|
|
CertPersistence = "CertPersistence"
|
|
CertTrustStore = "CertTrustStore"
|
|
UnsupportedPlatform = "UnsupportedPlatform"
|
|
|
|
// Unknown mirrors the default code that dry/usefulerror returns for errors
|
|
// created without an explicit code, so unset and explicitly-unknown errors
|
|
// classify identically (e.g. the bug-report hint in ui.ErrorExit).
|
|
Unknown = "unknown"
|
|
)
|