errorfactory

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t interface{}, err error, msg string, wrapArgs ...interface{}) error

New creates a new error factory error

Types

type APIFailure

type APIFailure struct {
	// contains filtered or unexported fields
}

APIFailure states that something went wrong with the api

func (APIFailure) Unwrap added in v0.23.0

func (e APIFailure) Unwrap() error

type BrokersNotReady

type BrokersNotReady struct {
	// contains filtered or unexported fields
}

BrokersNotReady states that the broker is not ready

func (BrokersNotReady) Unwrap added in v0.23.0

func (e BrokersNotReady) Unwrap() error

type BrokersRequestError

type BrokersRequestError struct {
	// contains filtered or unexported fields
}

BrokersRequestError states that the broker could not understand the request

func (BrokersRequestError) Unwrap added in v0.23.0

func (e BrokersRequestError) Unwrap() error

type BrokersUnreachable

type BrokersUnreachable struct {
	// contains filtered or unexported fields
}

BrokersUnreachable states that the given broker is unreachable

func (BrokersUnreachable) Unwrap added in v0.23.0

func (e BrokersUnreachable) Unwrap() error

type CreateTopicError

type CreateTopicError struct {
	// contains filtered or unexported fields
}

CreateTopicError states that the operator could not create the topic

func (CreateTopicError) Unwrap added in v0.23.0

func (e CreateTopicError) Unwrap() error

type CruiseControlNotReady

type CruiseControlNotReady struct {
	// contains filtered or unexported fields
}

CruiseControlNotReady states that CC is not ready to receive connection

func (CruiseControlNotReady) Unwrap added in v0.23.0

func (e CruiseControlNotReady) Unwrap() error

type CruiseControlTaskFailure

type CruiseControlTaskFailure struct {
	// contains filtered or unexported fields
}

CruiseControlTaskFailure states that CC task was not found (CC restart?) or failed

func (CruiseControlTaskFailure) Unwrap added in v0.23.0

func (e CruiseControlTaskFailure) Unwrap() error

type CruiseControlTaskRunning

type CruiseControlTaskRunning struct {
	// contains filtered or unexported fields
}

CruiseControlTaskRunning states that CC task is still running

func (CruiseControlTaskRunning) Unwrap added in v0.23.0

func (e CruiseControlTaskRunning) Unwrap() error

type CruiseControlTaskTimeout

type CruiseControlTaskTimeout struct {
	// contains filtered or unexported fields
}

CruiseControlTaskRunning states that CC task timed out

func (CruiseControlTaskTimeout) Unwrap added in v0.23.0

func (e CruiseControlTaskTimeout) Unwrap() error

type FatalReconcileError

type FatalReconcileError struct {
	// contains filtered or unexported fields
}

FatalReconcileError states that a fatal error happened

func (FatalReconcileError) Unwrap added in v0.23.0

func (e FatalReconcileError) Unwrap() error

type GracefulUpscaleFailed

type GracefulUpscaleFailed struct {
	// contains filtered or unexported fields
}

GracefulUpscaleFailed states that the operator failed to update the cluster gracefully

func (GracefulUpscaleFailed) Unwrap added in v0.23.0

func (e GracefulUpscaleFailed) Unwrap() error

type InternalError

type InternalError struct {
	// contains filtered or unexported fields
}

InternalError states that internal error happened

func (InternalError) Unwrap added in v0.23.0

func (e InternalError) Unwrap() error

type LoadBalancerIPNotReady

type LoadBalancerIPNotReady struct {
	// contains filtered or unexported fields
}

LoadBalancerIPNotReady states that the LoadBalancer IP is not yet created

func (LoadBalancerIPNotReady) Unwrap added in v0.23.0

func (e LoadBalancerIPNotReady) Unwrap() error

type PerBrokerConfigNotReady

type PerBrokerConfigNotReady struct {
	// contains filtered or unexported fields
}

PerBrokerConfigNotReady states that per-broker configurations has been updated for a broker

func (PerBrokerConfigNotReady) Unwrap added in v0.23.0

func (e PerBrokerConfigNotReady) Unwrap() error

type ReconcileRollingUpgrade

type ReconcileRollingUpgrade struct {
	// contains filtered or unexported fields
}

ReconcileRollingUpgrade states that rolling upgrade is reconciling

func (ReconcileRollingUpgrade) Unwrap added in v0.23.0

func (e ReconcileRollingUpgrade) Unwrap() error

type ResourceNotReady

type ResourceNotReady struct {
	// contains filtered or unexported fields
}

ResourceNotReady states that resource is not ready

func (ResourceNotReady) Unwrap added in v0.23.0

func (e ResourceNotReady) Unwrap() error

Unwrap() allows compliance with Go1.13+ error chaining behavior

type StatusUpdateError

type StatusUpdateError struct {
	// contains filtered or unexported fields
}

StatusUpdateError states that the operator failed to update the Status

func (StatusUpdateError) Unwrap added in v0.23.0

func (e StatusUpdateError) Unwrap() error

type TooManyResources

type TooManyResources struct {
	// contains filtered or unexported fields
}

TooManyResources states that too many resource found

func (TooManyResources) Unwrap added in v0.23.0

func (e TooManyResources) Unwrap() error

type TopicNotFound

type TopicNotFound struct {
	// contains filtered or unexported fields
}

TopicNotFound states that the given topic is not found

func (TopicNotFound) Unwrap added in v0.23.0

func (e TopicNotFound) Unwrap() error

Jump to

Keyboard shortcuts

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