mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-27 12:11:43 +02:00
10 lines
254 B
TypeScript
10 lines
254 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
export class PortTakenError extends ApplicationError {
|
|
constructor(port: number) {
|
|
super(
|
|
`Port ${port} is already in use. Do you already have the n8n main process running on that port?`,
|
|
);
|
|
}
|
|
}
|