-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Currently:
- A lot of IllegalStateExceptions/IllegalArgumentExceptions/RuntimeExceptions are used, even if discretely.
- Look up usages of functions
check,errorandremoveLast. - There's even a AssertionError used once, at the ObjectParser.
- Look up usages of functions
- There are a lot of TODOs() which generate NotImplementedErrors.
- Tartar infamously use a lot of
require, IllegalStateExceptions and IllegalArgumentExceptions. - Most Kotlin-land Exceptions are turned to "nativeExceptions" at VM and lose most of its data.
- Even the complete native stacktrace is usually lost.
TO-DO list:
- Find and replace usages of IllegalStateExceptions/IllegalArgumentExceptions/RuntimeExceptions/check/error/AssertionError with better, more specific exceptions which implement LinNativeException.
Open issue on Tartar to do the same when possible.Done.
- If possible, replace TODOs() with exceptions that explain that such an operation is illegal.
- Add the complete native stacktrace to the "nativeExceptions" to help with debugging.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request