changes to error file
changes in error framework
fixing indents