package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Errors which are used internally and should never be returned over the API.
Marker for ParseError, should never be returned as an actual error value.
Validation errors which may be returned over the API.
NotFound errors when a prompt or rule is not found.
Internal errors which are not handled specifically.
Validation errors which should never be used directly apart from checking errors.Is(), and should otherwise always be wrapped in dedicated error types defined below.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Marker for UnsupportedValueError, should never be returned as an actual error value.

# Structs

ParseError is a wrapper for errors about a field whose value is malformed.
RequestedPathNotMatchedError stores a path pattern from a reply which doesn't match the requested path.
RequestedPermissionsNotMatchedError stores the list of permissions from a reply which doesn't include all the requested permissions.
RuleConflict stores the permission and rendered variant which conflicted with that of another rule, along with the ID of that conflicting rule.
RuleConflictError stores a list of conflicts with existing rules which occurred when attempting to add or patch a rule.
UnsupportedValueError is a wrapper for errors about a field having an unsupported value when there is a fixed set of supported values.