Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/mod.ts>ValidationError#toString

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
method ValidationError.prototype.toString
Re-export
import { ValidationError } from "https://deno.land/x/deno_nest@v3.3.1/mod.ts";

Parameters

optional
shouldDecorate: boolean = [UNSUPPORTED]

decorate the message with ANSI formatter escape codes for better readability

optional
hasParent: boolean = [UNSUPPORTED]

true when the error is a child of an another one

optional
parentPath: string = [UNSUPPORTED]

path as string to the parent of this property

Returns

string