openlayers/ol3 — pull request #2462 by gingerik (2014-07-29 10:08:03+00:00)
Title: Return 'undefined' when throwing an exception

Several WKT parsing methods *may* throw an exception.
In these cases the expected return type is not satisfied.
This PR fixes this by adding `undefined` as a type.