First step in improving error reporting architecture