wip: error reporting