errors

package
v0.0.0-...-d389d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL