Turns out we do have a better error message if the client-modules directory is empty:
Failed to connect to server `/tmp/mir_socket': Attempted to create a ClientPlatformFactory with no platform modules
But if the directory is missing, it's too cryptic:
Failed to connect to server `/tmp/mir_socket': No such file or directory
Turns out we do have a better error message if the client-modules directory is empty: actory with no platform modules
Failed to connect to server `/tmp/mir_socket': Attempted to create a ClientPlatformF
But if the directory is missing, it's too cryptic:
Failed to connect to server `/tmp/mir_socket': No such file or directory