Skip to content

Commit f7815d9

Browse files
committed
Remove unneeded comments in wrapWithMultiErrorThrower.
1 parent 6dddcdf commit f7815d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/nativeMain/kotlin/maryk/wrapWithMultiErrorThrower.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ fun <T : Any, R : Any> T.wrapWithMultiErrorThrower(
1818

1919
val result = runnable(errsArray)
2020

21-
// Check each slot
2221
for (i in 0 until numKeys) {
2322
val singleErrorPtr = errsArray[i]
2423
if (singleErrorPtr != null) {
2524
val errMsg = singleErrorPtr.toKString()
2625

27-
// In your code, you might want to throw an exception or handle differently:
2826
throw RocksDBException(
2927
errMsg,
3028
convertToStatus(errMsg)

0 commit comments

Comments
 (0)