error framework version 2