mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-20 10:37:14 +02:00
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
8 lines
207 B
TypeScript
8 lines
207 B
TypeScript
import { UserError } from 'n8n-workflow';
|
|
|
|
export class NonJsonBodyError extends UserError {
|
|
constructor() {
|
|
super('Body must be valid JSON. Please make sure `content-type` is `application/json`.');
|
|
}
|
|
}
|