You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of IllegalStateExceptions/IllegalArgumentExceptions/RuntimeExceptions are used, even if discretely.
Look up usages of functions check, error and removeLast.
There's even a AssertionError used once, at the ObjectParser.
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.
The text was updated successfully, but these errors were encountered:
Currently:
check
,error
andremoveLast
.require
, IllegalStateExceptions and IllegalArgumentExceptions.TO-DO list:
Open issue on Tartar to do the same when possible.Done.The text was updated successfully, but these errors were encountered: