parse_warning


Description:

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

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.

Parameters:

msg

A Message

error

the resulting warning

details

A Structure containing additional details about the warning