errs

package
v0.0.0-...-e613b9d Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// Code is a stringable type as defined in the gRPC spec.
	// https://godoc.org/google.golang.org/grpc/codes#Code
	Code fmt.Stringer

	// Message is a human-readable explanation specific to this occurrence of the error.
	Message string

	// Logical operation and nested error.
	Op  string
	Err error
	// contains filtered or unexported fields
}

Error defines a standard application error.

func (*Error) Error

func (e *Error) Error() string

Error returns the string representation of the error message.

func (Error) MarshalZerologObject

func (p Error) MarshalZerologObject(e *zerolog.Event)

Jump to

Keyboard shortcuts

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