include on_error in synopsis