macOS builds with REDUCE_EXPORTS currently cause Cap’n Proto RPC to report:
0remote exception: unknown non-KJ exception of type: kj::Exception
instead of expected typed exception messages. Tests currently contain a workaround to accept this behavior.
This issue tracks investigating and fixing the underlying exception type visibility/RTTI problem and removing the workaround.
Related: #34422 (review)