Ensure all errors in `cli` inherit from `ApplicationError` to continue normalizing all the errors we report to Sentry Follow-up to: https://github.com/n8n-io/n8n/pull/7820
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
export class NotStringArrayError extends ApplicationError {
|
|
constructor(env: string) {
|
|
super(`${env} is not a string array.`);
|
|
}
|
|
}
|