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)
| 298 | // stack trace. This method should be called to propagate errors that resulted |
| 299 | // in the vectorized engine being in an *unexpected* state. |
| 300 | func 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 |
no test coverage detected
searching dependent graphs…