Parse the given error 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 error |
| details |
A Structure containing additional details about the error |