[#wallet-DBErrors] = xref:wallet.adoc[wallet]::DBErrors :relfileprefix: ../ :mrdocs: Error statuses for the wallet database. Values are in order of severity. When multiple errors occur, the most severe (highest value) will be returned. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class DBErrors : int; ---- == Members [cols="1,4"] |=== | Name| Description | `LOAD_OK` | The wallet loaded without error. | `NEED_RESCAN` | The wallet loaded but a rescan is required. | `EXTERNAL_SIGNER_SUPPORT_REQUIRED` | The wallet requires external signer support that is unavailable. | `NONCRITICAL_ERROR` | A non‐critical error occurred while loading. | `TOO_NEW` | The wallet was created by a newer version of the software. | `UNKNOWN_DESCRIPTOR` | The wallet contains a descriptor of an unknown type. | `LOAD_FAIL` | The wallet failed to load. | `UNEXPECTED_LEGACY_ENTRY` | An unexpected legacy record was found in a descriptor wallet. | `LEGACY_WALLET` | The wallet is a legacy wallet. | `CORRUPT` | The wallet database is corrupt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#