syncerror

package
v1.5.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

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
y or Y : Canonical URL