2026-05-24 12:22:19 +05:30
|
|
|
package errcodes
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
InvalidArgument = "InvalidArgument"
|
|
|
|
|
PermissionDenied = "PermissionDenied"
|
|
|
|
|
NotFound = "NotFound"
|
|
|
|
|
Timeout = "Timeout"
|
|
|
|
|
Canceled = "Canceled"
|
|
|
|
|
UnexpectedEOF = "UnexpectedEOF"
|
|
|
|
|
Lifecycle = "Lifecycle"
|
|
|
|
|
Network = "Network"
|
|
|
|
|
PackageManagerExecutionFailed = "PackageManagerExecutionFailed"
|
2026-05-24 12:46:06 +05:30
|
|
|
BubblewrapNotFound = "BubblewrapNotFound"
|
|
|
|
|
|
|
|
|
|
// Package manager error codes.
|
|
|
|
|
DependencyResolutionFailed = "DependencyResolutionFailed"
|
|
|
|
|
PackageParseFailed = "PackageParseFailed"
|
|
|
|
|
PackageAuthorNotFound = "PackageAuthorNotFound"
|
|
|
|
|
GitHubRateLimitExceeded = "GitHubRateLimitExceeded"
|
|
|
|
|
|
|
|
|
|
// 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"
|
2026-05-24 12:22:19 +05:30
|
|
|
)
|