<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/159429>159429</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX] Simplify errors from `RootSignatureMetadata.h`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joaosaffran
</td>
</tr>
</table>
<pre>
`RootSignatureMetadata.h` defines a bunch of `ErrorInfo` classes, we likely don't need as much as are currently defined. This task goal is to refactor and remove those error messages into a single or a handful amount of error messages. Previous discussion suggests making it similar to `StringError`, but with more structure.
First suggested here: https://github.com/llvm/llvm-project/pull/153276#discussion_r2356112836
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUsGK3DoQ_Br50jxjyWN5fPBh3ts3kEMgZHPILbSltq0dWRrU0iz798EOy5JLIKdG0FWqqi5kdksgGkX3r-ieKix5jWl8iRgZ5zlhqKZo30ahm68x5me3BMwl0WfKaDFjvQrdgKXZBWJAmEowK8QZhG7-TymmT2GO-4rxyEws1H_wSuDdjfwb2BiE6jMEIgvIsBWz7hMTgSkpUcj71sFua_i2OoaMfIMloof9ESHRjCbHBBgsJNrigyCvkQlo_x82YsaFGFzIERDYhcUT7ABYMdi5eMAtlpB32b9javiS6OFiYbCOTWF2MQCXZSHODBveXFjAZWC3OY9p1yN085yTC8thX-hmtzyVDK8ur7DFRMA5FbOnWIvmIprL1SXO77RkYaVEor3AmvOdRXsR6irUdXF5LVNt4ibU1fvH-_jnnuILmSzU9V68F-oqu1b1Wqj2Q_SPpNpOS6nOra7s2NqhHbCiUfbdWba607JaxzMqI2erOint1PcDNlbbVltr7KnTZ1u5UTWqawbZy0HqRtZ6OmsjpaVOTUM_kTg1tKHz9S6sjmmpHHOhUXbDSQ2Vx4k8H11TakJzo2BFe3lyiUz-LpTaK5jGw9VUFhanxjvO_EGXXfZHWd8x3RM8u-3u3fz263gMc4ob_LGwVUl-_Ot0Dyt85Hu4eYzqZwAAAP__d08XKQ">