Documentation ¶
Overview ¶
API error interface and centralized collection of all errors return by server.
Idol API handlers. See https://github.com/Kagami/kpopnet for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminBoardAPIHandler ¶
type AdminBoardHandler ¶
type ApiError ¶
type ApiError struct {
// contains filtered or unexported fields
}
Error returned by API. Serialized to common shape understanable by frontend. Can also keep error from internal subsystems which is never shown to the user by might be e.g. logged for debugging purposes. TODO(Kagami): easyjson.
func (ApiError) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.