Documentation
¶
Index ¶
Constants ¶
View Source
const ( CodeNotFound = "NOT_FOUND" CodeForbidden = "FORBIDDEN" CodeBadInput = "BAD_USER_INPUT" CodeInternal = "INTERNAL_ERROR" CodeExists = "ALREADY_EXISTS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiErrors ¶
func NewMultiErrors ¶
func NewMultiErrors() *MultiErrors
func (*MultiErrors) Add ¶
func (e *MultiErrors) Add(key, message string, err error)
func (*MultiErrors) Error ¶
func (e *MultiErrors) Error() string
func (*MultiErrors) HasErrors ¶
func (e *MultiErrors) HasErrors() bool
Click to show internal directories.
Click to hide internal directories.