Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
type ErrResponse struct {
Errors []Error `json:"errors"`
// contains filtered or unexported fields
}
func ParseError ¶
func ParseError(err error) *ErrResponse
func (*ErrResponse) Error ¶ added in v0.6.0
func (r *ErrResponse) Error() string
func (*ErrResponse) GRPCStatus ¶
func (r *ErrResponse) GRPCStatus() *status.Status
func (*ErrResponse) HTTPStatus ¶ added in v0.6.0
func (r *ErrResponse) HTTPStatus() int
Click to show internal directories.
Click to hide internal directories.