Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleInternalError ¶
HandleInternalError handle errors that occur from non api facing functions For example, from scheduled or cron jobs , goroutines etc./*
Types ¶
type ValidationError ¶
func ExtractValidationError ¶
func ExtractValidationError(err error) *ValidationError
func NewValidationError ¶
func NewValidationError(code int, message string) *ValidationError
func (*ValidationError) Error ¶
func (v *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.