MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / InternalError

Function InternalError

pkg/sql/colexecerror/error.go:300–302  ·  view source on GitHub ↗

InternalError panics with the error wrapped by internalError. It will always be caught and returned as internal error to the client with the corresponding stack trace. This method should be called to propagate errors that resulted in the vectorized engine being in an *unexpected* state.

(err error)

Source from the content-addressed store, hash-verified

298// stack trace. This method should be called to propagate errors that resulted
299// in the vectorized engine being in an *unexpected* state.
300func InternalError(err error) {
301 panic(newInternalError(err))
302}
303
304// ExpectedError panics with the error that is wrapped by
305// notInternalError which will not be treated as internal error and

Callers 15

COPYVALFunction · 0.92
APPENDSLICEFunction · 0.92
APPENDVALFunction · 0.92
SETVARIABLESIZEFunction · 0.92
populateCmpOpOverloadsFunction · 0.92
getCmpOpCompareFuncMethod · 0.92
getFloatCmpOpCompareFuncFunction · 0.92
getCmpOpCompareFuncMethod · 0.92
getCmpOpCompareFuncMethod · 0.92
getCmpOpCompareFuncMethod · 0.92
getCmpOpCompareFuncMethod · 0.92
getCmpOpCompareFuncMethod · 0.92

Calls 1

newInternalErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…