Documentation ¶
Index ¶
- type StatusError
- func (v StatusError) CanBeTalkError() bool
- func (v StatusError) Code() int
- func (v StatusError) Error() string
- func (v StatusError) Key() string
- func (v StatusError) Msg() string
- func (StatusError) ServiceCode() int
- func (v StatusError) StatusCode() int
- func (v StatusError) StatusErr() *github_com_go_courier_statuserror.StatusErr
- func (v StatusError) Unwrap() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusError ¶
type StatusError int
const ( // InternalServerError // Something wrong in server InternalServerError StatusError = http.StatusInternalServerError*1e6 + iota + 1 )
const ( StatusError = http.StatusUnauthorized*1e6 + iota + 1 )Unauthorized
func (StatusError) CanBeTalkError ¶
func (v StatusError) CanBeTalkError() bool
func (StatusError) Code ¶
func (v StatusError) Code() int
func (StatusError) Error ¶
func (v StatusError) Error() string
func (StatusError) Key ¶
func (v StatusError) Key() string
func (StatusError) Msg ¶
func (v StatusError) Msg() string
func (StatusError) ServiceCode ¶
func (StatusError) ServiceCode() int
func (StatusError) StatusCode ¶
func (v StatusError) StatusCode() int
func (StatusError) StatusErr ¶
func (v StatusError) StatusErr() *github_com_go_courier_statuserror.StatusErr
func (StatusError) Unwrap ¶ added in v1.15.1
func (v StatusError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.