Documentation
¶
Overview ¶
Package errors provides canonical error codes for cloudemu services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists returns true if the error is an AlreadyExists error.
func IsFailedPrecondition ¶
IsFailedPrecondition returns true if the error is a FailedPrecondition error.
func IsInvalidArgument ¶
IsInvalidArgument returns true if the error is an InvalidArgument error.
func IsNotFound ¶
IsNotFound returns true if the error is a NotFound error.
func IsPermissionDenied ¶
IsPermissionDenied returns true if the error is a PermissionDenied error.
func IsThrottled ¶
IsThrottled returns true if the error is a Throttled error.
Types ¶
type Code ¶
type Code int
Code represents a canonical error code.
Click to show internal directories.
Click to hide internal directories.