8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
|
export class DuplicateContactException extends Error {
|
||
|
constructor(data) {
|
||
|
super('DUPLICATE_CONTACT');
|
||
|
this.data = data;
|
||
|
this.name = 'DuplicateContactException';
|
||
|
}
|
||
|
}
|