extprocs

package
v9.75.1718400648-SHA-c... Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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