Documentation ¶
Index ¶
- Variables
- func ArticleNotFound(identifier string) *echo.HTTPError
- func CommentNotFound(identifier string) *echo.HTTPError
- func FollowerRelationshipNotFound(followed, follower string) *echo.HTTPError
- func InternalError(internal error) *echo.HTTPError
- func InvalidFieldError(field string, value any) *echo.HTTPError
- func InvalidFieldLimit(field string, validationName string, validationSize string) *echo.HTTPError
- func InvalidImageURLError(imageURL, contentType string) *echo.HTTPError
- func RequiredFieldError(field string) *echo.HTTPError
- func RequiredOneOfFields(fields []string) *echo.HTTPError
- func UnexpectedTokenSigningMethod(algName string) *echo.HTTPError
- func UniqueFieldError(field string) *echo.HTTPError
- func UserNotFound(identifier string) *echo.HTTPError
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfictError *echo.HTTPError = echo.NewHTTPError(http.StatusConflict, "Content Already Exists")
View Source
var CouldNotUnmarshalBodyError *echo.HTTPError = echo.NewHTTPError(http.StatusBadRequest, "Could Not Unmarshall Body")
View Source
var FailedAuthentication *echo.HTTPError = echo.NewHTTPError(http.StatusUnauthorized, "Invalid, Empty or Expired Token")
View Source
var FailedLoginAttempt *echo.HTTPError = echo.NewHTTPError(http.StatusUnauthorized, "Failed Login Attempt: Invalid Email or Password.")
View Source
var Forbidden *echo.HTTPError = echo.NewHTTPError(http.StatusForbidden, "Forbidden operation")
Functions ¶
func ArticleNotFound ¶
func ArticleNotFound(identifier string) *echo.HTTPError
func CommentNotFound ¶
func CommentNotFound(identifier string) *echo.HTTPError
func FollowerRelationshipNotFound ¶
func FollowerRelationshipNotFound(followed, follower string) *echo.HTTPError
func InternalError ¶
func InternalError(internal error) *echo.HTTPError
func InvalidFieldError ¶
func InvalidFieldLimit ¶
func InvalidImageURLError ¶
func InvalidImageURLError(imageURL, contentType string) *echo.HTTPError
func RequiredFieldError ¶
func RequiredFieldError(field string) *echo.HTTPError
func RequiredOneOfFields ¶
func RequiredOneOfFields(fields []string) *echo.HTTPError
func UnexpectedTokenSigningMethod ¶
func UnexpectedTokenSigningMethod(algName string) *echo.HTTPError
func UniqueFieldError ¶
func UniqueFieldError(field string) *echo.HTTPError
func UserNotFound ¶
func UserNotFound(identifier string) *echo.HTTPError
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.