package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

CheckAndMaybeLog reports the error, if non-nil, to the given logger.
IsSQLSyntaxError returns true iff the provided error is a SQL syntax error.
NewError instantiates an Error.
NewErrorWithSeverity instantiates an Error with an explicit severity.
NewFormattedError wraps the error into another error object that displays the details of the error when the error is formatted.
OutputError prints out an error object on the given writer.

# Structs

Error is an error object which, when propagated through the CLI main function, causes the process to exit with a given exit code.