Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONLoadError ¶
func JSONLoadError(w http.ResponseWriter, err error)
JSONLoadError is for errors occuring when intended to return JSON. TODO: Return properly
func JSONReturnError ¶
func JSONReturnError(w http.ResponseWriter, err error)
JSONReturnError is for errors that need to return as json, to respond to the request
func PageLoadError ¶
func PageLoadError(w http.ResponseWriter, err error)
PageLoadError is for errors that occur loading whole pages.
func StandardError ¶
func StandardError(err error)
StandardError is for items that just need errors loged and no special handling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.