Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exit ¶
func Exit(err error)
Exit exits the program with a code based on the error. Exit codes correspond to GRPC status codes. If err is nil, exit code is 0. Common errors such as context cancelled and deadline exceeded exit with the corresponding GRPC status code. Other errors exit with code 2, which is GRPC status code Unknown.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.