error framework changes