Is your feature request related to a problem? Please describe.
There isn't any validation that ensures that a message type provided to construct a message is valid. This reduces the usability of the system and makes Users more prone to accidentally introducing bugs in their code.
Describe the solution you'd like
Add a method to validate that the message type provided to a message on construction is valid
Describe alternatives you've considered
Rather than using a collection of messages encapsulated by one message type, break all messages up into individual classes.
Is your feature request related to a problem? Please describe. There isn't any validation that ensures that a message type provided to construct a message is valid. This reduces the usability of the system and makes Users more prone to accidentally introducing bugs in their code.
Describe the solution you'd like Add a method to validate that the message type provided to a message on construction is valid
Describe alternatives you've considered Rather than using a collection of messages encapsulated by one message type, break all messages up into individual classes.