Versions in this module Expand all Collapse all v0 v0.0.1 Nov 8, 2023 Changes in this version + const OperationTimeOutMsg + func IsNotFoundError(err error) bool + func IsTemporaryError(err error) bool + func UnwrapAll(err error) error + func UnwrapOnce(err error) (cause error) + type ErrComponent string + const ErrAVS + const ErrDB + const ErrEDP + const ErrK8SClient + const ErrKEB + const ErrProvisioner + const ErrReconciler + type ErrReason string + const ErrClusterNotFound + const ErrHttpStatusCode + const ErrK8SAmbiguousError + const ErrK8SNoMatchError + const ErrK8SUnexpectedObjectError + const ErrK8SUnexpectedServerError + const ErrKEBInternal + const ErrKEBTimeOut + const ErrProvisionerNilLastError + const ErrReconcilerNilFailures + type ErrorReporter interface + Component func() ErrComponent + Reason func() ErrReason + type LastError struct + func ReasonForError(err error) LastError + func TimeoutError(msg string) LastError + func (err LastError) Component() ErrComponent + func (err LastError) Error() string + func (err LastError) Reason() ErrReason + func (err LastError) SetComponent(component ErrComponent) LastError + func (err LastError) SetMessage(msg string) LastError + func (err LastError) SetReason(reason ErrReason) LastError + type NotFoundError struct + func (NotFoundError) Component() ErrComponent + func (NotFoundError) Error() string + func (NotFoundError) IsNotFound() bool + func (NotFoundError) Reason() ErrReason + type TemporaryError struct + func AsTemporaryError(err error, context string, args ...interface{}) *TemporaryError + func NewTemporaryError(msg string, args ...interface{}) *TemporaryError + func (TemporaryError) Component() ErrComponent + func (TemporaryError) Reason() ErrReason + func (TemporaryError) Temporary() bool + func (te TemporaryError) Error() string + type WrapTemporaryError struct + func WrapAsTemporaryError(err error, msg string, args ...interface{}) *WrapTemporaryError + func WrapNewTemporaryError(err error) *WrapTemporaryError + func (WrapTemporaryError) Temporary() bool + func (te WrapTemporaryError) Error() string + func (wte WrapTemporaryError) Component() ErrComponent + func (wte WrapTemporaryError) Reason() ErrReason