Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHubbleErr ¶
Types ¶
type ErrDef ¶
type ErrDef struct {
// contains filtered or unexported fields
}
func NewErrorWithStatusCode ¶
func NewErrorWithStatusCode(ae *proto.ActionableErr) *ErrDef
NewErrorWithStatusCode creates an actionable error message.
func (*ErrDef) StatusCode ¶
func (e *ErrDef) StatusCode() proto.StatusCode
func (*ErrDef) Suggestions ¶
func (e *ErrDef) Suggestions() []*proto.Suggestion
Click to show internal directories.
Click to hide internal directories.