Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainError ¶
type DomainError struct { Message string // contains filtered or unexported fields }
func NewDomainError ¶
func NewDomainError(message string, err error) *DomainError
func (DomainError) Error ¶
func (d DomainError) Error() string
func (DomainError) Unwrap ¶
func (d DomainError) Unwrap() error
type EntityNotFoundError ¶
type EntityNotFoundError struct {
ID uint
}
func NewEntityNotFoundError ¶
func NewEntityNotFoundError(id uint) *EntityNotFoundError
func (EntityNotFoundError) Error ¶
func (e EntityNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.