sterr

package
v0.9.3-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateErrorBadRequest

func CreateErrorBadRequest(msg string, field string, desc string) *status.Status

CreateErrorBadRequest is a wrapper for the CreateErrorBadRequest in x/sterr

func CreateErrorPreconditionFailure

func CreateErrorPreconditionFailure(msg string, tp string, sub string, desc string) *status.Status

CreateErrorPreconditionFailure is a wrapper for the CreateErrorPreconditionFailure in x/sterr

func CreateErrorResourceInfo

func CreateErrorResourceInfo(code codes.Code, msg string, rscType string, rscName string, owner string, desc string) *status.Status

CreateErrorResourceInfo is a wrapper for the CreateErrorResourceInfo in x/sterr

Types

This section is empty.

Jump to

Keyboard shortcuts

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