nit: explain in a comment that these errors are handled in a generic way