syncerror

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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