Parse the given warning msg and extract the corresponding Error.
Since 1.26 the details will always contain the URI this refers to in an "uri" field of type string, and (if known) the string "stream-id" it is referring to.
| msg |
A Message |
| error |
the resulting warning |
| details |
A Structure containing additional details about the warning |