Documentation ¶
Overview ¶
Package extprocs provides common utilities shared between the extproc backends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandError ¶
CommandError turns an *exec.ExitError into a gRPC-flavored error using the command's exit code as the gRPC code (if valid) and the command's stderr (or an excerpt from it) as the error message. If the provided error is not an *exec.ExitError then the error is wrapped with a ready-to-display message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.