errors

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(e error) codes.Code

Code - returns a nitric api error code from an error or Unknown if the error was not a nitric api error

func ErrorsWithScope

func ErrorsWithScope(s string, ctx ...interface{}) func(c codes.Code, msg string, cause error) error

ErrorsWithScope - Returns a new reusable error factory with the given scope

Types

type PluginError

type PluginError struct {
	// contains filtered or unexported fields
}

func (*PluginError) Error

func (p *PluginError) Error() string

func (*PluginError) Unwrap

func (p *PluginError) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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