status-im / doubleratchet

The Double Ratchet Algorithm implementation in Go
MIT License
112 stars 14 forks source link

Add error handling in persistence #1

Closed cammellos closed 6 years ago

cammellos commented 6 years ago

The interface in persistence does not allow returning errors, probably because it's focused on in-memory db, so no IO errors. Because we use permanent (on-disk) storage we need a way to handle errors.