Documentation
¶
Overview ¶
Package hookserrors holds the Error type and some functions to Check responses for errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
HTTPCode int `json:"http_code,omitempty"`
Message string `json:"message,omitempty"`
}
Error is the type propagated by hook endpoints to communicate failure.
Click to show internal directories.
Click to hide internal directories.