where is error_result defined? It seems that you are calling it with different arguments now and wanted to make sure that this is supported.