k8serrors

package
v0.0.0-...-57c84ca Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

NonCriticalErrors is an array of error statuses, that are non-critical. That means, that this error can be silenced and displayed to the user as a warning on the frontend side.

Functions

func AppendError

func AppendError(err error, nonCriticalErrors []error) ([]error, error)

func GeneralServerError

func GeneralServerError(ctx context.Context, w http.ResponseWriter, err error)

func HandleError

func HandleError(err error) ([]error, error)

func MergeErrors

func MergeErrors(errorArrayToMerge ...[]error) (mergedErrors []error)

func NewGeneralError

func NewGeneralError(err error) *httputils.JSONClientError

Types

This section is empty.

Jump to

Keyboard shortcuts

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