Added the Error types to the API seeing as fromList is exposed in LinearString and LineString