mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 01:37:07 +02:00
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`.');
|
|
}
|
|
}
|