Technical Documentation

Asserts

Last Updated: October 16, 20240.4 min read

Assert & AssertMessage

Use the Assert and AssertMessage macros to validate programming code path failures.
Do not use these methods for designer errors caused by data, instead use log warnings.

Expect

Use the Expect and ExpectMessage macros to tell the compiler of a condition that is expected to always be true. The optimizer can use this information to make further optimizations.

ExpectUnreachable

Use the ExpectUnreachable macro to indicate an unreachable code path.