Documentation ¶
Overview ¶
Package errors contains errors.
Index ¶
- type ReconcilerErr
- func (err *ReconcilerErr) Cause() error
- func (err *ReconcilerErr) Error() string
- func (err *ReconcilerErr) StackTrace() errors.StackTrace
- func (err *ReconcilerErr) Unwrap() error
- func (err *ReconcilerErr) WithEvent(event string) *ReconcilerErr
- func (err *ReconcilerErr) WithSystemCondition(contype v1beta1.ConditionType) *ReconcilerErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcilerErr ¶
type ReconcilerErr struct { Event string ConditionType string // contains filtered or unexported fields }
ReconcilerErr defines an error that occurs during reconciliation.
func Wrap ¶
func Wrap(err error, msg string) *ReconcilerErr
Wrap wraps an error as a RenconcilerErr.
func (*ReconcilerErr) Cause ¶
func (err *ReconcilerErr) Cause() error
Cause returns the cause of the error.
func (*ReconcilerErr) Error ¶
func (err *ReconcilerErr) Error() string
Error implements the error interface.
func (*ReconcilerErr) StackTrace ¶
func (err *ReconcilerErr) StackTrace() errors.StackTrace
StackTrace implements the stackTracer interface.
func (*ReconcilerErr) Unwrap ¶ added in v0.7.0
func (err *ReconcilerErr) Unwrap() error
Unwrap is the same as `Cause()`
func (*ReconcilerErr) WithEvent ¶
func (err *ReconcilerErr) WithEvent(event string) *ReconcilerErr
WithEvent adds event metadata to the ReconcilerErr.
func (*ReconcilerErr) WithSystemCondition ¶
func (err *ReconcilerErr) WithSystemCondition(contype v1beta1.ConditionType) *ReconcilerErr
WithSystemCondition adds condition metadata to the ReconcilerErr.
Click to show internal directories.
Click to hide internal directories.