Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK = "200" Created = "201" ErrBadRequest = "400" ErrForbidden = "403" ErrNotFound = "404" ErrServerError = "500" ErrConflict = "409" )
HTTP status codes
Variables ¶
This section is empty.
Functions ¶
func StatusText ¶
StatusText returns the status code in human text
Types ¶
type AffsError ¶
AffsError is an error type that also holds a status code
type CodedError ¶
CodedError represents an error with a code
Click to show internal directories.
Click to hide internal directories.