package errors type NotFoundError struct { Message string } func (err NotFoundError) Error() string { return err.Message } type UnknownError struct { Err error } func (err UnknownError) Error() string { return err.Err.Error() } type AlreadyExistsError struct { Message string } func (err AlreadyExistsError) Error() string { return err.Message }