Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/* eslint-disable max-classes-per-file */
|
||||
export class DuplicateContactException extends Error {
|
||||
constructor(data) {
|
||||
super('DUPLICATE_CONTACT');
|
||||
this.data = data;
|
||||
this.name = 'DuplicateContactException';
|
||||
}
|
||||
}
|
||||
export class ExceptionWithMessage extends Error {
|
||||
constructor(data) {
|
||||
super('ERROR_WITH_MESSAGE');
|
||||
this.data = data;
|
||||
this.name = 'ExceptionWithMessage';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user