utils

package
v0.0.0-...-5b9be47 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessingErrorFromError

func ProcessingErrorFromError(cause error, isTemporary bool) error

ProcessingErrorFromError - given an error turn it into a processing error

Types

type ProcessingError

type ProcessingError struct {
	OriginalError  error
	FailureMessage string
	Temporary      bool
}

ProcessingError is an error used to communicate whether an error is temporary.

func (ProcessingError) Cause

func (e ProcessingError) Cause() error

Cause implements Cause for error

func (ProcessingError) Error

func (e ProcessingError) Error() string

Error makes ProcessingError an error

func (ProcessingError) Unwrap

func (e ProcessingError) Unwrap() error

Unwrap implements Unwrap for error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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