errors

package
v1.0.236 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClosing                  = errors.New("SHAR server is shutting down")
	ErrWorkflowInstanceNotFound = errors.New("workflow instance not found")
	ErrWorkflowNotFound         = errors.New("workflow not found")
	ErrElementNotFound          = errors.New("element not found")
	ErrStateNotFound            = errors.New("state not found")
	ErrJobNotFound              = errors.New("job not found")
	ErrFatalBadDuration         = &ErrWorkflowFatal{Err: errors.New("timer embargo value could not be evaluated to an int or a duration")}
)
View Source
var (
	NatsMsgKeyNotFound = "nats: key not found"
)

Functions

func IsWorkflowFatal added in v0.1.172

func IsWorkflowFatal(err error) bool

Types

type ErrWorkflowFatal

type ErrWorkflowFatal struct {
	Err error
}

ErrWorkflowFatal signifys that the workflow must terniate

func (ErrWorkflowFatal) Error

func (e ErrWorkflowFatal) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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