Expose error creation to the public API.
Added error handling to node visiting and transform application, correctly reporting errors from the texture transform.