Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckError = func(err error) error {
return err
}
Functions ¶
func CheckResponseStatus ¶ added in v0.2.2
Check expected status codes and return error if needed
func GenerateResponseError ¶ added in v0.27.0
Types ¶
type OnErrorHandler ¶
Error modes (how should the application behave when the CheckError function is invoked):
Click to show internal directories.
Click to hide internal directories.