Documentation ¶
Overview ¶
Package cause is used to define root causes for errors common to errors packages like grpc and http.
Index ¶
Constants ¶
View Source
const UnexpectedStatusPrefix = "unexpected status "
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrUnexpectedStatus ¶
type ErrUnexpectedStatus struct {
Status int
}
func (ErrUnexpectedStatus) Error ¶
func (e ErrUnexpectedStatus) Error() string
func (ErrUnexpectedStatus) Unknown ¶
func (ErrUnexpectedStatus) Unknown()
Click to show internal directories.
Click to hide internal directories.