Error object thrown when an assertion failed. This is an ECMA-262 Error,
extended with a
Error code. The meaning of the code can be found on https://openlayers.org/en/latest/doc/errors/ (replace
latestwith the version found in the OpenLayers script's header comment if a version other than the latest is used).