errors

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RPCStatusBadRequest          = "type.googleapis.com/google.rpc.BadRequest"
	RPCStatusDebugInfo           = "type.googleapis.com/google.rpc.DebugInfo"
	RPCStatusErrorInfo           = "type.googleapis.com/google.rpc.ErrorInfo"
	RPCStatusHelp                = "type.googleapis.com/google.rpc.Help"
	RPCStatusPreconditionFailure = "type.googleapis.com/google.rpc.PreconditionFailure"
	RPCStatusQuotaFailure        = "type.googleapis.com/google.rpc.QuotaFailure"
	RPCStatusRetryInfo           = "type.googleapis.com/google.rpc.RetryInfo"
)

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

CheckError handles simple error handling

func CheckRevertGcloudConfigError

func CheckRevertGcloudConfigError(err error)

Types

type SDKClientCreateError

type SDKClientCreateError struct {
	Err            error
	ResourceType   string
	ServiceAccount string
}

SDKClientCreateError is used for errors caused when attempting to create a GCP SDK client/service.

func (*SDKClientCreateError) Error

func (e *SDKClientCreateError) Error() string

Jump to

Keyboard shortcuts

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