We are relying too much on LibraryError and string passing to represent error conditions that are not tskit::TskitError.
It is a simple restructuring to create a new internal error type and have PopgenError::Tskit contain this as data rather than the tskit error type.
We are relying too much on LibraryError and string passing to represent error conditions that are not
tskit::TskitError.It is a simple restructuring to create a new internal error type and have
PopgenError::Tskitcontain this as data rather than thetskiterror type.