In a previous post I showed how you could create a constructor that a layout could use but no other code could.
Seems that in oder to make this a little more generic and cross-platform you need to look for a different stack entry.
Because macOS and Windows do things differently you can get a very different stack trace on Windows that you would on the Mac.… Read the rest