ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/examples/custom-backend
Yuya Nishihara cf8a0466c4 backend: introduce error types specific to init/load phases
Errors that may occur while loading backend would vary per backends, and
it's unlikely that these errors could be mapped to BackendError variants
other than BackendError::Other. So let's extract Other(_) of that kind as
a separate type to clarify there would be no other error variants.

Perhaps, Backend/Error will be renamed to CommitBackend/Error or
CommitStore/Error?, whereas I think BackendInit/LoadError can be shared
among store factories.
2023-07-06 20:48:46 +09:00
..
main.rs backend: introduce error types specific to init/load phases 2023-07-06 20:48:46 +09:00