errors

package
v0.0.0-...-f737b9d Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorIs = errors.Is

	ErrCreateTask       = errors.New("can't create task")
	ErrTaskDoesNotExist = errors.New("can't get task, task does not exist")
	ErrReportTask       = errors.New("can't report task, task must have `InProgress` status")
	ErrInternal         = errors.New("internal error")
	ErrNoTasks          = errors.New("can't find any tasks")
)

Functions

func ToGrpcError

func ToGrpcError(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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