matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

Fine-grain `base::store::StoreError::Encryption` away from `String` onto more specific errors.

Open ShadowJonathan opened this issue 4 years ago • 0 comments

Alike to https://github.com/ruma/ruma/issues/590

I saw the error type accepts an arbitrary String, i think that fine-graining this (either to specific error types, a further error enum, or a custom trait) would be worth it.

ShadowJonathan avatar May 24 '21 12:05 ShadowJonathan