Add copy constructor for Error and some convenience factory methods
Add copy constructor for Error and some convenience factory methods

samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla