Documentation
¶
Index ¶
- Variables
- type NVError
- func (*NVError) Descriptor() ([]byte, []int)deprecated
- func (x *NVError) GetErrorId() string
- func (x *NVError) GetMetadata() map[string]string
- func (x *NVError) GetOrigin() string
- func (x *NVError) GetReason() string
- func (*NVError) ProtoMessage()
- func (x *NVError) ProtoReflect() protoreflect.Message
- func (x *NVError) Reset()
- func (x *NVError) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_errors_v1_nverrors_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NVError ¶
type NVError struct {
// Short description of what caused this error
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
// A brief identifier of the origin of this error
Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
// Unique ID for this error. Useful for troubleshooting
ErrorId string `protobuf:"bytes,3,opt,name=error_id,json=errorId,proto3" json:"error_id,omitempty"`
// Optional further information about this error that can be used for debugging/recovering from the error
Metadata map[string]string `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
NVError defines the structure for errors returned by NV services
func (*NVError) Descriptor
deprecated
func (*NVError) GetErrorId ¶
func (*NVError) GetMetadata ¶
func (*NVError) ProtoMessage ¶
func (*NVError) ProtoMessage()
func (*NVError) ProtoReflect ¶
func (x *NVError) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.