mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
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
205 B
TypeScript
8 lines
205 B
TypeScript
import { ResponseError } from './abstract/response.error';
|
|
|
|
export class InternalServerError extends ResponseError {
|
|
constructor(message: string, errorCode = 500) {
|
|
super(message, 500, errorCode);
|
|
}
|
|
}
|