[#bech32-LocateErrors] = xref:bech32.adoc[bech32]::LocateErrors :relfileprefix: ../ :mrdocs: Return the positions of errors in a Bech32 string. == Synopsis Declared in `<bech32.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::pair<std::string, std::vector<int>> LocateErrors( std::string const& str, xref:bech32/CharLimit.adoc[CharLimit] limit = CharLimit::BECH32); ---- == Return Value A pair of an error message and the positions of the detected errors. == Parameters [cols="1,4"] |=== | Name| Description | *str* | The string to inspect. | *limit* | The maximum accepted string length. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#