package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
CatchVectorizedRuntimeError executes operation, catches a runtime error if it is coming from the vectorized engine, and returns it.
ExpectedError panics with the error that is wrapped by notInternalError which will not be treated as internal error and will not have a printed out stack trace.
InternalError simply panics with the provided object.
NewStorageError returns a new storage error.
NonVectorizedTestPanic is the equivalent of Golang's 'panic' word that should be used by the testing code within the vectorized engine to simulate a panic that occurs outside of the engine (and, thus, should not be caught).
# Structs
StorageError is an error that was created by a component below the sql stack, such as the network or storage layers.