The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { msg } from '@lingui/core/macro';
import { CustomException } from 'src/utils/custom-exception';
export class AgentHistoryMigrationStateException extends CustomException<
'INVALID_STATE' | 'MISSING_STATE' | 'INVALID_WORKSPACE'
> {
constructor(
code: 'INVALID_STATE' | 'MISSING_STATE' | 'INVALID_WORKSPACE',
message: string,
) {
super(message, code, {
userFriendlyMessage: msg`Unable to access AI history. Please try again.`,
});
}
}