You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Low-level libs (db) should not decide whenever to panic or not. It's better to let dbs return an error and handle it in the calling code (say retry N times and maybe panic afterwards).
Pros:
standard interface
error handling is the same for every database (memdb, go_level_db, ...) => ease of customization in the future