modifications for error reporting flexibility