HEAVY: finish music service migration, tidy up services, more tests

This commit is contained in:
ari melody 2026-08-01 00:29:31 +01:00
parent 9e311df462
commit 90a671982c
Signed by: ari
GPG key ID: CF99829C92678188
47 changed files with 2698 additions and 902 deletions

16
errors/notexist.go Normal file
View file

@ -0,0 +1,16 @@
package errors
type NotExistError struct {
query string
}
func NewNotExistError(query string) *NotExistError {
return &NotExistError{ query: query }
}
func (err *NotExistError) Error() string {
return err.query
}
func IsNotExistError(err error) bool {
_, ok := err.(*NotExistError)
return ok
}