Documentation ¶
Overview ¶
Package commonerr contains common errors between different Praefect components. Ideally this package's contents would be in praefect's root package but this is not possible at the moment due to cyclic imports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepositoryNotFoundError ¶
NewRepositoryNotFoundError returns a new repository not found error for the given repository.
Types ¶
type RepositoryNotFoundError ¶
type RepositoryNotFoundError struct {
// contains filtered or unexported fields
}
RepositoryNotFoundError is returned when attempting to operate on a repository that does not exist in the virtual storage.
func (RepositoryNotFoundError) Error ¶
func (err RepositoryNotFoundError) Error() string
Error returns the error message.
Click to show internal directories.
Click to hide internal directories.