Methods
Use
AddCustomError only when no other method fits. Document assembly is determined entirely by the number of errors, so the error weight has to be set correctly, which is difficult to get right. Do not combine several standard errors into a single custom error with one common error message.