Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBookNotFound ¶
type ErrBookNotFound struct {
Id int
}
ErrBookNotFound represents an error when a book is not found in the database.
func (ErrBookNotFound) Error ¶
func (e ErrBookNotFound) Error() string
type ErrDuplicateBook ¶
ErrDuplicateBook represents an error when a book with the same title and author already exists.
func (ErrDuplicateBook) Error ¶
func (e ErrDuplicateBook) Error() string
Click to show internal directories.
Click to hide internal directories.