categories

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category string

Category provides information about the high-level component of the Transfer service which is the cause of an error which occurred with a transfer. Any error can have only one assigned category.

const (
	// Source is for errors originating from the source endpoint (its configuration, runtime properties, etc.)
	Source Category = "source"
	// Target is for errors originating from the target endpoint (its configuration, runtime properties, etc.)
	Target Category = "target"
	// Internal is for errors caused by the Transfer service's infrastructure and unfixable by the user
	Internal Category = "internal"
)

func (Category) ID

func (c Category) ID() string

Jump to

Keyboard shortcuts

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