package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
CommandLineFlagError (4) indicates there was an error in the command-line parameters.
DiskFull (10) indicates an emergency shutdown in response to a store's full disk.
DoctorValidationFailed indicates that the 'doctor' command has detected an inconsistency in the SQL metaschema.
FatalError (7) indicates that a logical error in the server caused an emergency shutdown.
Interrupted (3) indicates the server process was interrupted with Ctrl+C / SIGINT.
Killed (138) indicates the server process was terminated with SIGUSR1.
LoggingFileUnavailable (6) indicates that an error occurred during a logging operation to a file.
LoggingNetCollectorUnavailable (9) indicates that an error occurred during a logging operation to a network collector.
LoggingStderrUnavailable (5) indicates that an error occurred during a logging operation to the process' stderr stream.
Success (0) represents a normal process termination.
TimeoutAfterFatalError (8) indicates that an emergency shutdown due to a fatal error did not occur properly due to some blockage in the logging system.
UnspecifiedError (1) indicates the process has terminated with an error condition.
UnspecifiedGoPanic (2) indicates the process has terminated due to an uncaught Go panic or some other error in the Go runtime.
WithCode terminates the process and sets its exit status code to the provided code.