HuyinDong / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

Add method to get access to error text #525

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In cases where the EvalError.message contains useful information (e.g. the 
error returned from a URL fetch), there's currently no way to get access to it.

I propose adding a new pseudofield to Cell which, if the Cell contains an 
EvalError, will return EvalError.message instead of the EvalError itself (which 
can not be evaluated in the normal manner).

The proposed name is "error" which would make the GREL syntax:

  cell.error 

The value field (i.e. cell.value) would continue to return the error object.

Original issue reported on code.google.com by tfmorris on 26 Jan 2012 at 9:30