syncerror

package
Version: v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMemberLookupError

func IsMemberLookupError(e error) bool

func NewMemberLookupError

func NewMemberLookupError(ldapGroupUID, ldapUserUID string, causedBy error) error

Types

type Handler

type Handler interface {
	// HandleError processess an error without mutating it. If the error is determined to be fatal,
	// a non-nil error should be returned.
	HandleError(err error) (handled bool, fatalError error)
}

Handler knows how to handle errors

func NewCompoundHandler

func NewCompoundHandler(handlers ...Handler) Handler

func NewMemberLookupMemberNotFoundSuppressor

func NewMemberLookupMemberNotFoundSuppressor(err io.Writer) Handler

func NewMemberLookupOutOfBoundsSuppressor

func NewMemberLookupOutOfBoundsSuppressor(err io.Writer) Handler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL