do not export error struct