Documentation ¶
Index ¶
Constants ¶
View Source
const ( OK = iota Canceled Unknown InvalidArgument DeadlineExceeded NotFound AlreadyExists PermissionDenied ResourceExhausted FailedPrecondition Aborted OutOfRange Unimplemented Internal DataLoss Unauthenticated )
Variables ¶
View Source
var ( SuccessReason = "SUCCESS" SuccessMessage = "success" UnknownReason = "UNKNOWN" UnknownMessage = "unknown" )
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
*Status
}
Error is a micro error.
func UnknownError ¶
UnknownError returns an error with unknown status.
Click to show internal directories.
Click to hide internal directories.