Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppError ¶
type AppError struct { ErrorObject error `json:"error"` SanitisedMessage string `json:"message"` Code int `json:"code"` }
AppError as app error container
type FriendlyError ¶
type FriendlyError struct {
Message string `json:"message"`
}
FriendlyError is sanitised error message sent back to the user
Click to show internal directories.
Click to hide internal directories.