Chatwoot/app/javascript/shared/helpers/CustomErrors.js

8 lines
182 B
JavaScript
Raw Normal View History

export class DuplicateContactException extends Error {
constructor(data) {
super('DUPLICATE_CONTACT');
this.data = data;
this.name = 'DuplicateContactException';
}
}