Move assertion messages into code and deprecate AssertionError

This commit is contained in:
Andreas Hocevar
2022-08-21 21:41:27 +02:00
parent c5f8629f65
commit 4e9626ef60
3 changed files with 69 additions and 13 deletions
+6
View File
@@ -1,5 +1,11 @@
## Upgrade notes
### Next version
#### Deprecation of `ol/AssertionError` and error codes
Future versions will no longer throw `ol/AssertionError` with an error `code`. Instead, they will throw `Error` with just the error message.
### 7.0.0
#### Removal of deprecated properties and methods