Documentation ¶
Overview ¶
Code generated by genhelper.go; DO NOT EDIT.
Index ¶
- func Aborted(msg string, aps ...AppendDetail) *status.Status
- func AbortedError(msg string, aps ...AppendDetail) error
- func AlreadyExists(msg string, aps ...AppendDetail) *status.Status
- func AlreadyExistsError(msg string, aps ...AppendDetail) error
- func Canceled(msg string, aps ...AppendDetail) *status.Status
- func CanceledError(msg string, aps ...AppendDetail) error
- func DataLoss(msg string, aps ...AppendDetail) *status.Status
- func DataLossError(msg string, aps ...AppendDetail) error
- func DeadlineExceeded(msg string, aps ...AppendDetail) *status.Status
- func DeadlineExceededError(msg string, aps ...AppendDetail) error
- func FailedPrecondition(msg string, aps ...AppendDetail) *status.Status
- func FailedPreconditionError(msg string, aps ...AppendDetail) error
- func Internal(msg string, aps ...AppendDetail) *status.Status
- func InternalError(msg string, aps ...AppendDetail) error
- func InvalidArgument(msg string, aps ...AppendDetail) *status.Status
- func InvalidArgumentError(msg string, aps ...AppendDetail) error
- func NotFound(msg string, aps ...AppendDetail) *status.Status
- func NotFoundError(msg string, aps ...AppendDetail) error
- func OutOfRange(msg string, aps ...AppendDetail) *status.Status
- func OutOfRangeError(msg string, aps ...AppendDetail) error
- func PermissionDenied(msg string, aps ...AppendDetail) *status.Status
- func PermissionDeniedError(msg string, aps ...AppendDetail) error
- func ResourceExhausted(msg string, aps ...AppendDetail) *status.Status
- func ResourceExhaustedError(msg string, aps ...AppendDetail) error
- func Unauthenticated(msg string, aps ...AppendDetail) *status.Status
- func UnauthenticatedError(msg string, aps ...AppendDetail) error
- func Unavailable(msg string, aps ...AppendDetail) *status.Status
- func UnavailableError(msg string, aps ...AppendDetail) error
- func Unimplemented(msg string, aps ...AppendDetail) *status.Status
- func UnimplementedError(msg string, aps ...AppendDetail) error
- func Unknown(msg string, aps ...AppendDetail) *status.Status
- func UnknownError(msg string, aps ...AppendDetail) error
- type AppendDetail
- func BadRequest(ri *errdetails.BadRequest) AppendDetail
- func DebugInfo(ri *errdetails.DebugInfo) AppendDetail
- func ErrorInfo(ri *errdetails.ErrorInfo) AppendDetail
- func Help(ri *errdetails.Help) AppendDetail
- func LocalizedMessage(ri *errdetails.LocalizedMessage) AppendDetail
- func PreconditionFailure(ri *errdetails.PreconditionFailure) AppendDetail
- func QuotaFailure(ri *errdetails.QuotaFailure) AppendDetail
- func RequestInfo(ri *errdetails.RequestInfo) AppendDetail
- func ResourceInfo(ri *errdetails.ResourceInfo) AppendDetail
- func RetryInfo(ri *errdetails.RetryInfo) AppendDetail
- type GRPCStatus
- type Translated
- type TranslatedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortedError ¶
func AbortedError(msg string, aps ...AppendDetail) error
func AlreadyExists ¶
func AlreadyExists(msg string, aps ...AppendDetail) *status.Status
func AlreadyExistsError ¶
func AlreadyExistsError(msg string, aps ...AppendDetail) error
func CanceledError ¶
func CanceledError(msg string, aps ...AppendDetail) error
func DataLossError ¶
func DataLossError(msg string, aps ...AppendDetail) error
func DeadlineExceeded ¶
func DeadlineExceeded(msg string, aps ...AppendDetail) *status.Status
func DeadlineExceededError ¶
func DeadlineExceededError(msg string, aps ...AppendDetail) error
func FailedPrecondition ¶
func FailedPrecondition(msg string, aps ...AppendDetail) *status.Status
func FailedPreconditionError ¶
func FailedPreconditionError(msg string, aps ...AppendDetail) error
func InternalError ¶
func InternalError(msg string, aps ...AppendDetail) error
func InvalidArgument ¶
func InvalidArgument(msg string, aps ...AppendDetail) *status.Status
func InvalidArgumentError ¶
func InvalidArgumentError(msg string, aps ...AppendDetail) error
func NotFoundError ¶
func NotFoundError(msg string, aps ...AppendDetail) error
func OutOfRange ¶
func OutOfRange(msg string, aps ...AppendDetail) *status.Status
func OutOfRangeError ¶
func OutOfRangeError(msg string, aps ...AppendDetail) error
func PermissionDenied ¶
func PermissionDenied(msg string, aps ...AppendDetail) *status.Status
func PermissionDeniedError ¶
func PermissionDeniedError(msg string, aps ...AppendDetail) error
func ResourceExhausted ¶
func ResourceExhausted(msg string, aps ...AppendDetail) *status.Status
func ResourceExhaustedError ¶
func ResourceExhaustedError(msg string, aps ...AppendDetail) error
func Unauthenticated ¶
func Unauthenticated(msg string, aps ...AppendDetail) *status.Status
func UnauthenticatedError ¶
func UnauthenticatedError(msg string, aps ...AppendDetail) error
func Unavailable ¶
func Unavailable(msg string, aps ...AppendDetail) *status.Status
func UnavailableError ¶
func UnavailableError(msg string, aps ...AppendDetail) error
func Unimplemented ¶
func Unimplemented(msg string, aps ...AppendDetail) *status.Status
func UnimplementedError ¶
func UnimplementedError(msg string, aps ...AppendDetail) error
func UnknownError ¶
func UnknownError(msg string, aps ...AppendDetail) error
Types ¶
type AppendDetail ¶
func BadRequest ¶
func BadRequest(ri *errdetails.BadRequest) AppendDetail
func DebugInfo ¶
func DebugInfo(ri *errdetails.DebugInfo) AppendDetail
func ErrorInfo ¶
func ErrorInfo(ri *errdetails.ErrorInfo) AppendDetail
func Help ¶
func Help(ri *errdetails.Help) AppendDetail
func LocalizedMessage ¶
func LocalizedMessage(ri *errdetails.LocalizedMessage) AppendDetail
func PreconditionFailure ¶
func PreconditionFailure(ri *errdetails.PreconditionFailure) AppendDetail
func QuotaFailure ¶
func QuotaFailure(ri *errdetails.QuotaFailure) AppendDetail
func RequestInfo ¶
func RequestInfo(ri *errdetails.RequestInfo) AppendDetail
func ResourceInfo ¶
func ResourceInfo(ri *errdetails.ResourceInfo) AppendDetail
func RetryInfo ¶
func RetryInfo(ri *errdetails.RetryInfo) AppendDetail
type GRPCStatus ¶
type Translated ¶
type TranslatedError ¶
func AsIs ¶
func AsIs(st *status.Status) *TranslatedError
func (*TranslatedError) Error ¶
func (te *TranslatedError) Error() string
func (*TranslatedError) GRPCStatus ¶
func (te *TranslatedError) GRPCStatus() *status.Status
func (*TranslatedError) TranslatedStatus ¶
func (te *TranslatedError) TranslatedStatus() *status.Status
Click to show internal directories.
Click to hide internal directories.