Publicly expose 'Error' in pa/mod.rs and added more useful trait bounds to SamplePrivate