errors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: Apache-2.0, MIT Imports: 2 Imported by: 8

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