# ParseExpressionError Class

Module
import { ParseExpressionError } from "@tsed/common"
Source/packages/common/src/mvc/errors/ParseExpressionError.ts

# Overview

class ParseExpressionError extends BadRequest {
    dataPath: string;
    requestType: string;
    errorMessage: string;
    origin: Error;
    constructor(name: string, expression: string | RegExp | undefined, err?: any);
    static buildMessage(name: string, expression: string | RegExp | undefined, message?: string): string;
}

# Members

dataPath: string

requestType: string

errorMessage: string

origin: Error

static buildMessage(name: string, expression: string | RegExp | undefined, message?: string): string