errors

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 5 modules, 16 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 IsBadRequestError

func IsBadRequestError(err *rpc.Error) bool

IsBadRequestError returns whether the error is a bad request error

func IsInternalError

func IsInternalError(err *rpc.Error) bool

IsInternalError returns whether the error is an internal error

func NewBadRequestError

func NewBadRequestError(err error) *rpc.Error

NewBadRequestError creates a new bad request error

func NewBadRequestWriteBatchRawError

func NewBadRequestWriteBatchRawError(index int, err error) *rpc.WriteBatchRawError

NewBadRequestWriteBatchRawError creates a new bad request write batch error

func NewInternalError

func NewInternalError(err error) *rpc.Error

NewInternalError creates a new internal error

func NewWriteBatchRawError

func NewWriteBatchRawError(index int, err error) *rpc.WriteBatchRawError

NewWriteBatchRawError creates a new write batch error

Types

This section is empty.

Jump to

Keyboard shortcuts

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