package
0.0.2-beta.2
Repository: https://github.com/radekg/yugabyte-db-go-client.git
Documentation: pkg.go.dev

# Functions

NewCDCError converts MasterErrorPB into an error.
NewConsensusError converts ConsensusErrorPB into an error.
NewMasterError converts MasterErrorPB into an error.
NewPerOpError converts PerOpErrorPB into an error.
NewRemoteBootstrapError converts ConsensusErrorPB into an error.
NewTabletServerError converts TabletServerErrorPB into an error.

# Constants

ErrorMessageConnected is an error message.
ErrorMessageConnecting is an error message.
ErrorMessageLeaderWaitTimeout is an error message.
ErrorMessageNoClient is an error message.
ErrorMessageNoLeader is an error message.
ErrorMessageNotConnected is an error message.
ErrorMessagePayloadError is an error message.
ErrorMessageProtocolConnectionHeader is an error message.
ErrorMessageProtoServiceError is an error message.
ErrorMessageReceiveFailed is an error message.
ErrorMessageReconnectFailed is an error message.
ErrorMessageReconnectRequired is an error message.
ErrorMessageSendFailed is an error message.
ErrorMessageServiceError is an error message.
ErrorMessageUnprocessableResponse is an error message.

# Structs

CDCError is an error representation of the CDCErrorPB.
ConsensusError is an error representation of the ConsensusErrorPB.
MasterError is an error representation of the MasterErrorPB.
NoLeaderError represents a client without a leader error.
PayloadWriteError happens when the client cannot serialize the header or the payload.
PerOpError is an error representation of the PerOpErrorPB.
ProtocolConnectionHeaderWriteError is an error returned when the initial connect header could not be written.
ProtocolConnectionHeaderWriteIncompleteError is an error returned when the initial connect header could not be fully written.
ProtoServiceError happens when the service registry cannot identify a service for a protobuf type.
ReceiveError is returned when the client is unable to send the payload or receive from the server.
RemoteBootstrapError is an error representation of the RemoteBootstrapErrorPB.
RequiresReconnectError is an error indicating a need to reconnect.
SendError is returned when the client is unable to send the payload or receive from the server.
ServiceRPCError is returned when the client responds with a response header with is_error true.
TabletServerError is an error representation of the TabletServerErrorPB.
UnprocessableResponseError represents a client error where a fully read response cannot be deserialized as a protobuf message.

# Interfaces

AbstractMasterErrorResponse isn't an error.