Versions in this module Expand all Collapse all v2 v2.0.0 May 2, 2026 Changes in this version + const ErrCodeCancelled + const ErrCodeExecutionFailed + const ErrCodeInternal + const ErrCodeInvalidInput + const ErrCodeNotFound + const ErrCodePermissionDenied + const ErrCodeTimeout + const ErrCodeValidationFailed + var ExitFunc = os.Exit + type CacheUpdateError struct + Err error + func NewCacheUpdateError(err error) CacheUpdateError + func (e CacheUpdateError) Code() string + func (e CacheUpdateError) Error() string + func (e CacheUpdateError) Unwrap() error + type Coder interface + Code func() string + type Detail struct + Code string + Details map[string]any + Message string + type Envelope struct + Error Detail + func NewEnvelope(code, message string, details map[string]any) Envelope + func ParseEnvelope(data []byte) (Envelope, error) + type ExecutableContextError struct + FlowFile string + Namespace string + Workspace string + WorkspacePath string + func (e ExecutableContextError) Code() string + func (e ExecutableContextError) Error() string + type ExecutableNotFoundError struct + Ref string + func NewExecutableNotFoundError(ref string) ExecutableNotFoundError + func (e ExecutableNotFoundError) Code() string + func (e ExecutableNotFoundError) Error() string + type UsageError struct + Msg string + func NewUsageError(format string, args ...any) UsageError + func (e UsageError) Code() string + func (e UsageError) Error() string + type ValidationError struct + Details map[string]any + Msg string + func NewValidationError(msg string, details map[string]any) ValidationError + func (e ValidationError) Code() string + func (e ValidationError) Error() string + type WorkspaceNotFoundError struct + Workspace string + func (e WorkspaceNotFoundError) Code() string + func (e WorkspaceNotFoundError) Error() string Other modules containing this package github.com/flowexec/flow