In errors, store chunk ids as `ChunkId`, not `String`
Fixes #114 (closed).
I looked through remaining uses of String
(not just in error types, but in the entire codebase). It looks like most of them are legitimate strings, with two exceptions:
- we often represent generations as strings. Aren't generations identified by their
ChunkId
? - we represent checksums as
String
s with hexadecimal number.
Might be worthwhile to introduce separate types for those, but I don't understand the architecture well enough to judge.