Documentation ¶
Index ¶
- func IsBadRequestError(err *rpc.Error) bool
- func IsInternalError(err *rpc.Error) bool
- func NewBadRequestError(err error) *rpc.Error
- func NewBadRequestWriteBatchRawError(index int, err error) *rpc.WriteBatchRawError
- func NewInternalError(err error) *rpc.Error
- func NewWriteBatchRawError(index int, err error) *rpc.WriteBatchRawError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBadRequestError ¶
IsBadRequestError returns whether the error is a bad request error
func IsInternalError ¶
IsInternalError returns whether the error is an internal error
func NewBadRequestError ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.