e258cac34e273d82b5902a71da7958f379d2a26fa34aae829b454439215523ee.json raw
1 {"ast":null,"code":"/**\n * Error thrown when a permission operation fails.\n */\nexport class PermissionRepositoryError extends Error {\n code;\n constructor(message, code) {\n super(message);\n this.code = code;\n this.name = 'PermissionRepositoryError';\n }\n}\nexport var PermissionErrorCode = /*#__PURE__*/function (PermissionErrorCode) {\n PermissionErrorCode[\"NOT_FOUND\"] = \"NOT_FOUND\";\n PermissionErrorCode[\"ENCRYPTION_FAILED\"] = \"ENCRYPTION_FAILED\";\n PermissionErrorCode[\"DECRYPTION_FAILED\"] = \"DECRYPTION_FAILED\";\n PermissionErrorCode[\"STORAGE_FAILED\"] = \"STORAGE_FAILED\";\n return PermissionErrorCode;\n}(PermissionErrorCode || {});","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}