Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "ERROR_CODE_CANCELLED", 2: "ERROR_CODE_UNKNOWN", 3: "ERROR_CODE_INVALID_ARGUMENT", 4: "ERROR_CODE_DEADLINE_EXCEEDED", 5: "ERROR_CODE_NOT_FOUND", 6: "ERROR_CODE_ALREADY_EXISTS", 7: "ERROR_CODE_PERMISSION_DENIED", 8: "ERROR_CODE_RESOURCE_EXHAUSTED", 9: "ERROR_CODE_FAILED_PRECONDITION", 10: "ERROR_CODE_ABORTED", 11: "ERROR_CODE_OUT_OF_RANGE", 12: "ERROR_CODE_UNIMPLEMENTED", 13: "ERROR_CODE_INTERNAL", 14: "ERROR_CODE_UNAVAILABLE", 15: "ERROR_CODE_DATA_LOSS", 16: "ERROR_CODE_UNAUTHENTICATED", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_CANCELLED": 1, "ERROR_CODE_UNKNOWN": 2, "ERROR_CODE_INVALID_ARGUMENT": 3, "ERROR_CODE_DEADLINE_EXCEEDED": 4, "ERROR_CODE_NOT_FOUND": 5, "ERROR_CODE_ALREADY_EXISTS": 6, "ERROR_CODE_PERMISSION_DENIED": 7, "ERROR_CODE_RESOURCE_EXHAUSTED": 8, "ERROR_CODE_FAILED_PRECONDITION": 9, "ERROR_CODE_ABORTED": 10, "ERROR_CODE_OUT_OF_RANGE": 11, "ERROR_CODE_UNIMPLEMENTED": 12, "ERROR_CODE_INTERNAL": 13, "ERROR_CODE_UNAVAILABLE": 14, "ERROR_CODE_DATA_LOSS": 15, "ERROR_CODE_UNAUTHENTICATED": 16, } )
Enum value maps for ErrorCode.
View Source
var File_buf_alpha_rpc_v1alpha1_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorCode ¶
type ErrorCode int32
Well defined error codes specified as part of the RPC API.
const ( ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0 ErrorCode_ERROR_CODE_CANCELLED ErrorCode = 1 ErrorCode_ERROR_CODE_UNKNOWN ErrorCode = 2 ErrorCode_ERROR_CODE_INVALID_ARGUMENT ErrorCode = 3 ErrorCode_ERROR_CODE_DEADLINE_EXCEEDED ErrorCode = 4 ErrorCode_ERROR_CODE_NOT_FOUND ErrorCode = 5 ErrorCode_ERROR_CODE_ALREADY_EXISTS ErrorCode = 6 ErrorCode_ERROR_CODE_PERMISSION_DENIED ErrorCode = 7 ErrorCode_ERROR_CODE_RESOURCE_EXHAUSTED ErrorCode = 8 ErrorCode_ERROR_CODE_FAILED_PRECONDITION ErrorCode = 9 ErrorCode_ERROR_CODE_ABORTED ErrorCode = 10 ErrorCode_ERROR_CODE_OUT_OF_RANGE ErrorCode = 11 ErrorCode_ERROR_CODE_UNIMPLEMENTED ErrorCode = 12 ErrorCode_ERROR_CODE_INTERNAL ErrorCode = 13 ErrorCode_ERROR_CODE_UNAVAILABLE ErrorCode = 14 ErrorCode_ERROR_CODE_DATA_LOSS ErrorCode = 15 ErrorCode_ERROR_CODE_UNAUTHENTICATED ErrorCode = 16 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.