# Functions
Aggregate aggregates several errors into a single one.
Cause will return the immediate cause, if possible.
Code returns the error code if it's a vtError.
Equals returns true iff the error message and the code returned by Code() are equal.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
ErrState returns the error state if it's a vtError.
FromVTRPC recovers a vtError from a *vtrpcpb.RPCError (which is how vtError is transmitted across proto3 RPC boundaries).
New returns an error with the supplied message.
NewErrorf formats according to a format specifier and returns the string as a value that satisfies error.
Print is meant to print the vtError object in test failures.
RegisterFlags registers the command-line options that control vterror behavior on the provided FlagSet.
RootCause returns the underlying cause of the error, if possible.
ToVTRPC converts from vtError to a vtrpcpb.RPCError.
Wrap returns an error annotating err with a stack trace at the point Wrap is called, and the supplied message.
Wrapf returns an error annotating err with a stack trace at the point Wrapf is call, and the format specifier.
# Constants
permission denied.
not found.
invalid argument.
All the error states.
All the error states.
All the error states.
All the error states.
already exists.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
resource exhausted.
failed precondition.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
Operation not allowed error.
unimplemented.
No state should be added below NumOfStates.
All the error states.
PrimaryVindexNotSet is the error message to be used when there is no primary vindex found on a table.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
Serious errors.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
Informational errors.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
Permanent errors.
A list of all vtrpcpb.Code, ordered by priority.
Potentially retryable errors.
A list of all vtrpcpb.Code, ordered by priority.
A list of all vtrpcpb.Code, ordered by priority.
cancelled.
All the error states.
server not available.
Operation not allowed error.
All the error states.
All the error states.
TxEngineClosed for transaction engine closed error.
TxKillerRollback purpose when acquire lock on connection for rolling back transaction.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
All the error states.
WrongTablet for invalid tablet type error.
All the error states.
All the error states.
All the error states.
All the error states.
# Variables
No description provided by the author
RxOp regex for operation not allowed error.
RxWrongTablet regex for invalid tablet type error.
TxClosed regex for connection closed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VT13001 General Error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Interfaces
ErrorWithCode returns the grpc code.
ErrorWithState is used to return the error State is such can be found.
# Type aliases
Frame represents a program counter inside a stack frame.
StackTrace is stack of Frames from innermost (newest) to outermost (oldest).
State is error state.