parse_error


Description:

public static void parse_error (Message msg, out Error error, out Structure? details)

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.

Parameters:

msg

A Message

error

the resulting error

details

A Structure containing additional details about the error