status

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractErrorFromStatus

func ExtractErrorFromStatus(mode *goflagsmode.Flag, err error) (
	codes.Code,
	error,
)

ExtractErrorFromStatus extracts the error from the status

Parameters:

  • mode: The flag mode to determine if the error should be masked
  • err: The error to extract the status from

Returns:

  • codes.Code: The gRPC status code
  • error: The extracted error

Types

This section is empty.

Jump to

Keyboard shortcuts

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