errors

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetLayerFilesystemError          = 9
	RetLoadConfigError               = 10
	RetCreateDatabaseError           = 11
	RetMigrateDatabaseError          = 12
	RetCreateRepoRepositoryError     = 13
	RetCreateArtifactRepositoryError = 14
	RetCreateArtifactStorageError    = 15
	RetCreateChecksumServiceError    = 16
	RetCreateInputWatcherError       = 17
	RetCreateRepoRecordError         = 20
	RetCreateWebServerError          = 40
)

The Application return code errors

View Source
const ErrArtifactIsBroken = lib.Error("artifact is broken")
View Source
const ErrChecksumFileHasBrokenFiles = lib.Error("checksum file has broken file(s)")
View Source
const ErrIncorrectFileID = lib.Error("incorrect file id")
View Source
const ErrIncorrectMetaID = lib.Error("incorrect meta id")
View Source
const ErrIsNotChecksumFile = lib.Error("is not checksum file")
View Source
const ErrMustBeAbsPath = lib.Error("must be absolute path")
View Source
const ErrNotMatchRepoInput = lib.Error("not match repo input")
View Source
const ErrUnsecureFileName = lib.Error("unsecure file name")

Variables

View Source
var Is = errors.Is

Functions

This section is empty.

Types

type ErrArtifactAlreadyExists

type ErrArtifactAlreadyExists struct {
	Path string
}

func (ErrArtifactAlreadyExists) Error

func (e ErrArtifactAlreadyExists) Error() string

Jump to

Keyboard shortcuts

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