Correctly set errors to . #406
Setup errors in get_output(). #406
set error ids. #406