errs

package
v0.0.0-...-981e2ef Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TLSNotEnabledError = New("No need to inject CA as TLS is not enabled")

TLSNotEnabledError ...

Functions

func Errorf

func Errorf(format string, fields ...interface{}) error

Errorf return an error with a specified format.

func IsTLSNotEnabledError

func IsTLSNotEnabledError(err error) bool

IsTLSNotEnabledError checks if the error is TLSNotEnabledError.

func New

func New(message string) error

New error

func Wrap

func Wrap(message string, err error) error

Wrap error with extra message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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