code

Error code identifying the type of error.

Common error codes:

  • invalidDid: The DID format is invalid

  • methodNotSupported: The DID method is not supported

  • invalidOptions: The provided options are invalid

  • insufficientFunds: Insufficient funds for blockchain operations

  • unauthorized: Authorization failed

  • notFound: DID not found

  • conflict: Operation conflicts with existing state

  • internalError: Internal server error