cherry-pick feat(wallet)!: add NonEmptyDatabase variant to NewError
#1256
+25
−2
NonEmptyDatabase variant to NewError
#1256