How to show error message to client

But can be defaulted to show the error message to dialog like showing this error
“Meeting not started” rather than your connection has timed out ?