{"ast":null,"code":"/**\n * Error thrown when an identity operation fails.\n */\nexport class IdentityRepositoryError extends Error {\n  code;\n  constructor(message, code) {\n    super(message);\n    this.code = code;\n    this.name = 'IdentityRepositoryError';\n  }\n}\nexport var IdentityErrorCode = /*#__PURE__*/function (IdentityErrorCode) {\n  IdentityErrorCode[\"DUPLICATE_PRIVATE_KEY\"] = \"DUPLICATE_PRIVATE_KEY\";\n  IdentityErrorCode[\"NOT_FOUND\"] = \"NOT_FOUND\";\n  IdentityErrorCode[\"ENCRYPTION_FAILED\"] = \"ENCRYPTION_FAILED\";\n  IdentityErrorCode[\"STORAGE_FAILED\"] = \"STORAGE_FAILED\";\n  return IdentityErrorCode;\n}(IdentityErrorCode || {});","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}