Clear and concise description of the problem
In our downstream emitters, we need to define quite a few diagnostic warnings or errors to enforce something that the emitter cannot handle or not recommend.
Now we could define a code and a message for it. It may not be a best practice that a message reported here would be very long to describe everything about the diagnostic, because in real life, to make sure the emitter use could be self-serving, quite a few things might need to be explained - such as, why this happens, how this happens, and the most important: what they should do to make the diagnostic gone.
I think a line of message may not be able to explain all these.
Is it possible that we could have some mechanism (maybe tspd?) to collect an extra doc we write in each individual emitter to describe everything for each diagnostic?
Checklist
Clear and concise description of the problem
In our downstream emitters, we need to define quite a few diagnostic warnings or errors to enforce something that the emitter cannot handle or not recommend.
Now we could define a code and a message for it. It may not be a best practice that a message reported here would be very long to describe everything about the diagnostic, because in real life, to make sure the emitter use could be self-serving, quite a few things might need to be explained - such as, why this happens, how this happens, and the most important: what they should do to make the diagnostic gone.
I think a line of message may not be able to explain all these.
Is it possible that we could have some mechanism (maybe tspd?) to collect an extra doc we write in each individual emitter to describe everything for each diagnostic?
Checklist