func NoDecoration(ctx context.Context, request interface{}, err error) error {
	return err
}
NoDecoration returns the original err.
package circuitbreak
import (
	"context"
	"errors"
	"github.com/cloudwego/kitex/pkg/kerrors"
)
var ignoreErrTypes = map[error]ErrorType{
	kerrors.ErrInternalException: TypeIgnorable,
	kerrors.ErrServiceDiscovery:  TypeIgnorable,
	kerrors.ErrACL:               TypeIgnorable,
	kerrors.ErrLoadbalance:       TypeIgnorable,
	kerrors.ErrRPCFinish:         TypeIgnorable,
}
func ErrorTypeOnServiceLevel(ctx context.Context, request, response interface{}, err error) ErrorType {
	if err != nil {
		for e, t := range ignoreErrTypes {
			if errors.Is(err, e) {
				return t
			}
		}
		var we *errorWrapperWithType
		if ok := errors.As(err, &we); ok {
			return we.errType
		}
		if kerrors.IsTimeoutError(err) {
			return TypeTimeout
		}
		return TypeFailure
	}
	return TypeSuccess
}
func ErrorTypeOnInstanceLevel(ctx context.Context, request, response interface{}, err error) ErrorType {
	if errors.Is(err, kerrors.ErrGetConnection) {
		return TypeFailure
	}
	return TypeSuccess
}
func FailIfError(ctx context.Context, request, response interface{}, err error) ErrorType {
	if err != nil {
		return TypeFailure
	}
	return TypeSuccess
}