# DocumentSigningErrorCode
enum DocumentSigningErrorCode : Enum<DocumentSigningErrorCode> , MIRACLErrorCode
An enumeration that describes signing issues.
# Entries
| FAIL | FAIL() Failed to sign a document. |
| EMPTY_PUBLIC_KEY | EMPTY_PUBLIC_KEY() Empty public key. |
| INVALID_CRYPTO_VALUES | INVALID_CRYPTO_VALUES() Invalid crypto values. |
| FAIL_GET_SIGNING_IDENTITY | FAIL_GET_SIGNING_IDENTITY() Signing failed because the user’s signing identity could not be found in the storage. |
| FAIL_REVOKED_USER | FAIL_REVOKED_USER() Signing failed because user is revoked. |
| EMPTY_SIGNING_IDENTITY | EMPTY_SIGNING_IDENTITY() Empty signing identity. |
| EMPTY_SIGNING_IDENTITY_ID | EMPTY_SIGNING_IDENTITY_ID() Empty signing identity id. |
| EMPTY_MESSAGE_HASH | EMPTY_MESSAGE_HASH() Empty message hash. |
# Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |