commonerr

package
v14.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 1 Imported by: 0

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

func NewRepositoryNotFoundError(virtualStorage string, relativePath string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL