Hacker News new | past | comments | ask | show | jobs | submit login

You can use 1 type of error enum for your app

for example me, Yes my code can fail and only have 1 type eg: AppError

but I can supplement that with db error,cache error,serde error etc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: