errors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Domain of errors, in the scope of the service.
	Domain = "github.com/cvewatcher/mulval"
)

Variables

View Source
var (
	ErrInternalNoSub error
	ErrCanceled      error = status.New(codes.Canceled, "").Err()
)

Functions

func StatusFromError

func StatusFromError(err error) error

StatusFromError normalizes internal errors into gRPC status errors so the gateway can forward meaningful codes/messages to HTTP clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

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