extprocs

package
v8.56.1709838579-SHA-e... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func CommandError(err error) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL