Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
type ErrResponse struct { Status int `json:"-"` GRPCStatus codes.Code `json:"-"` Errors []Error `json:"errors"` }
func ParseError ¶
func ParseError(err error) *ErrResponse
func (*ErrResponse) ToStatus ¶
func (r *ErrResponse) ToStatus() *status.Status
Click to show internal directories.
Click to hide internal directories.