Skip to content

decodeErrorDetails

function decodeErrorDetails(raw): ErrorDetailJson[];

Defined in: src/error-model.ts:358

Decode a vgi_rpc.error_details value into its JSON objects.

Tolerant: anything that is not a JSON array decodes as empty and non-object elements are skipped. Unknown @type values are kept – filtering to the catalog is what the typed accessors do.

Parameter Type
raw string | null | undefined

ErrorDetailJson[]