TenantAtlas/apps/platform/.pnpm-store/v10/files/03/edf7d1555108b8df153d37c7da77e44e5992eb268ace64c0aa9abd8727fada54e8a44b171ffb5fd4c51ec955dd577392ad3ce3c1cbea29be93d9b7e88340ad
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

12 lines
541 B
Plaintext

import { createErrorClass } from './createErrorClass';
export var UnsubscriptionError = createErrorClass(function (_super) {
return function UnsubscriptionErrorImpl(errors) {
_super(this);
this.message = errors
? errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ')
: '';
this.name = 'UnsubscriptionError';
this.errors = errors;
};
});
//# sourceMappingURL=UnsubscriptionError.js.map