err

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationError

type ApplicationError interface {
	error
	IsLDAPManagerError() bool
	StatusError() error
}

ApplicationError is an application error that is visible to the end user.

GRPC and HTTP check if an error is an ApplicationError and transparently pass them to the user.

type ValidationError

type ValidationError struct {
	ApplicationError
	Message string
}

ValidationError indicates an invalid request

func (*ValidationError) Error

func (e *ValidationError) Error() string

Error ...

func (*ValidationError) StatusError

func (e *ValidationError) StatusError() error

StatusError ...

Jump to

Keyboard shortcuts

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