Report every invariant break through internalError

This commit is contained in:
2026-09-29 01:38:45 +02:00
committed by Lillem4n
parent 3aa747de02
commit 514d738b08
13 changed files with 25 additions and 27 deletions
+4
View File
@@ -240,3 +240,7 @@ func newRand(seed uint64, seeded bool) (*session, error) {
}
return &session{Rand: r, counters: map[string]uint64{}}, nil
}
func internalError(format string, a ...any) string {
return "fejkdata: internal error: " + fmt.Sprintf(format, a...)
}