Documentation ¶
Overview ¶
Package entity defines all structs that flow through all application layers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrEmptyField ¶
ErrEmptyField returns codes.InvalidArgument explained that the field is empty.
func ErrInternal ¶
ErrInternal returns codes.Internal explained that unexpected behavior occurred in system.
func ErrInvalidArgument ¶
ErrInvalidArgument returns codes.InvalidArgument explained that argument(s) is invalid.
func ErrUnauthorized ¶
func ErrUnauthorized() error
ErrUnauthorized returns codes.Unauthenticated explained that credential might be wrong.
Types ¶
Click to show internal directories.
Click to hide internal directories.