package
25.1.0+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 panics with the error wrapped by internalError.
NewStorageError returns a new storage error.
NonCatchablePanic is the equivalent of Golang's 'panic' word that can be used in order to crash the goroutine.
ProductionBehaviorForTests reinstates the release-build behavior for CatchVectorizedRuntimeError, which is to catch *all* panics originating from within the vectorized execution engine, including runtime panics that are not wrapped in InternalError, ExpectedError, or StorageError.

# Structs

StorageError is an error that was created by a component below the sql stack, such as the network or storage layers.