ScalarDL Ledger Error Codes
This page provides a list of error codes in ScalarDL Ledger.
Error code classes and descriptionsâ
Class | Description |
---|---|
DL-LEDGER-3xxxx | Errors for the validation error category |
DL-LEDGER-4xxxx | Errors for the user error category |
DL-LEDGER-5xxxx | Errors for the internal error category |
DL-LEDGER-3xxxx
status codesâ
The following are status codes and messages for the validation error category.
DL-LEDGER-300001
â
Message
Validation failed for the hash.
DL-LEDGER-301001
â
Message
Validation failed for the previous hash.
DL-LEDGER-302001
â
Message
Validation failed for the contract.
DL-LEDGER-303001
â
Message
Validation failed for the output. Recomputed: %s; Stored: %s
DL-LEDGER-304001
â
Message
Validation failed for nonce. %s contains the nonce '%s' more than once.
DL-LEDGER-305001
â
Message
The specified asset and the asset metadata are inconsistent.
DL-LEDGER-305002
â
Message
The asset specified by input dependencies is not found.
DL-LEDGER-4xxxx
status codesâ
The following are status codes and messages for the user error category.
DL-LEDGER-400001
â
Message
The request signature can't be validated.
DL-LEDGER-400002
â
Message
The request signature from Auditor can't be validated.
DL-LEDGER-407001
â
Message
The specified contract class is not allowed to be executed.
DL-LEDGER-407002
â
Message
A configuration mismatch is detected. Check the Auditor setting in the client or Ledger.
DL-LEDGER-407003
â
Message
The Auditor signature must be included in the request when Auditor is enabled.
DL-LEDGER-407004
â
Message
%s must be enabled to make auditing work.
DL-LEDGER-409001
â
Message
The specified asset is not found.
DL-LEDGER-410001
â
Message
The specified function is not found.
DL-LEDGER-411001
â
Message
Loading the function failed. Details: %s
DL-LEDGER-412001
â
Message
The function is not allowed to access the specified namespace.
DL-LEDGER-412002
â
Message
The database operation in the function failed. Details: %s
DL-LEDGER-414001
â
Message
%s must be set if HMAC authentication is used.
DL-LEDGER-414002
â
Message
%s must be set to true if Auditor is enabled.
DL-LEDGER-414003
â
Message
Authentication between Ledger and Auditor is not correctly configured. Set %s or set a private key with %s or %s.
DL-LEDGER-414004
â
Message
Authentication between Ledger and Auditor is not correctly configured. Set %s if you use HMAC authentication with Auditor enabled.
DL-LEDGER-414005
â
Message
Either %s or %s must be set if proof is enabled.
DL-LEDGER-414006
â
Message
%s must be set to true when using the JDBC transaction manager in the Auditor mode.
DL-LEDGER-414007
â
Message
%s must be disabled when using the Consensus Commit transaction manager for performance reasons.
DL-LEDGER-414008
â
Message
%s must be disabled because group commit is not supported.
DL-LEDGER-5xxxx
status codesâ
The following are status codes and messages for the internal error category.
DL-LEDGER-500001
â
Message
Binding the function failed. Details: %s
DL-LEDGER-500002
â
Message
Unbinding the function failed. Details: %s
DL-LEDGER-500003
â
Message
Getting the function failed. Details: %s
DL-LEDGER-500004
â
Message
Starting a transaction failed. Details: %s
DL-LEDGER-500005
â
Message
Getting the transaction state failed. Details: %s
DL-LEDGER-500006
â
Message
Putting or committing asset records failed. Details: %s
DL-LEDGER-500007
â
Message
Aborting the transaction failed. Details: %s
DL-LEDGER-500008
â
Message
Retrieving the asset records failed. Details: %s
DL-LEDGER-500009
â
Message
Retrieving the asset metadata failed. Details: %s
DL-LEDGER-500010
â
Message
Putting the asset metadata failed. Details: %s
DL-LEDGER-500011
â
Message
The database operation in the function failed due to a database error. Details: %s
DL-LEDGER-501001
â
Message
The asset status is unknown. Details: %s
DL-LEDGER-502001
â
Message
The function type or instance is not supported.
DL-LEDGER-504001
â
Message
The transaction state has already been %s.
DL-LEDGER-504002
â
Message
Retrieving the asset records failed due to a conflict. Details: %s
DL-LEDGER-504003
â
Message
Putting the asset records failed due to a conflict. Details: %s
DL-LEDGER-504004
â
Message
Committing the asset records failed due to a conflict. Details: %s
DL-LEDGER-504005
â
Message
Retrieving the asset metadata failed due to a conflict. Details: %s
DL-LEDGER-504006
â
Message
Putting the asset metadata failed due to a conflict. Details: %s
DL-LEDGER-504007
â
Message
The database operation in the function failed due to a conflict. Details: %s