[#wallet-DBErrors]
= xref:wallet.adoc[wallet]::DBErrors
:relfileprefix: ../
:mrdocs:

Error statuses for the wallet database&period; Values are in order of severity&period; When multiple errors occur, the most severe (highest value) will be returned&period;

== Synopsis

Declared in `&lt;wallet&sol;walletdb&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class DBErrors : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `LOAD&lowbar;OK` 
| The wallet loaded without error&period;
| `NEED&lowbar;RESCAN` 
| The wallet loaded but a rescan is required&period;
| `EXTERNAL&lowbar;SIGNER&lowbar;SUPPORT&lowbar;REQUIRED` 
| The wallet requires external signer support that is unavailable&period;
| `NONCRITICAL&lowbar;ERROR` 
| A non&hyphen;critical error occurred while loading&period;
| `TOO&lowbar;NEW` 
| The wallet was created by a newer version of the software&period;
| `UNKNOWN&lowbar;DESCRIPTOR` 
| The wallet contains a descriptor of an unknown type&period;
| `LOAD&lowbar;FAIL` 
| The wallet failed to load&period;
| `UNEXPECTED&lowbar;LEGACY&lowbar;ENTRY` 
| An unexpected legacy record was found in a descriptor wallet&period;
| `LEGACY&lowbar;WALLET` 
| The wallet is a legacy wallet&period;
| `CORRUPT` 
| The wallet database is corrupt&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
