mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
8 lines
221 B
TypeScript
8 lines
221 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
export class NonJsonBodyError extends ApplicationError {
|
|
constructor() {
|
|
super('Body must be valid JSON. Please make sure `content-type` is `application/json`.');
|
|
}
|
|
}
|