frictionlessdata / tableschema-js

A JavaScript library for working with Table Schema.
http://frictionlessdata.io/
MIT License
82 stars 27 forks source link

return semantic details in header error #153

Closed JDziurlaj closed 5 years ago

JDziurlaj commented 6 years ago

Add headerNames and fieldNames properties to the error object, when the headers do not match. This will allow downstream consumers to compare the two arrays and determine how to display the differences to the end user.