Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseError ¶
type DatabaseError struct {
// contains filtered or unexported fields
}
DatabaseError - General App Error.
func NewDatabaseError ¶
func NewDatabaseError(msg string, args ...any) *DatabaseError
NewDatabaseError - GeneralError constructor.
func NewDatabaseErrorWrapper ¶
func NewDatabaseErrorWrapper(err error, msg string, args ...any) *DatabaseError
NewDatabaseErrorWrapper - GeneralError constructor for wrapper of another error.
func (*DatabaseError) Error ¶
func (ge *DatabaseError) Error() string
Error - return the error string.
type GeneralError ¶
type GeneralError struct {
// contains filtered or unexported fields
}
GeneralError - General App Error.
func NewGeneralError ¶
func NewGeneralError(msg string, args ...any) *GeneralError
NewGeneralError - GeneralError constructor.
func NewGeneralErrorWrapper ¶
func NewGeneralErrorWrapper(err error, msg string, args ...any) *GeneralError
NewGeneralErrorWrapper - GeneralError constructor for wrapper of another error.
func (*GeneralError) Error ¶
func (ge *GeneralError) Error() string
Error - return the error string.
Click to show internal directories.
Click to hide internal directories.