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

x/oak_nest/deps.ts>ValidationError#toString

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
method ValidationError.prototype.toString
Re-export
import { ValidationError } from "https://deno.land/x/oak_nest@v3.0.1/deps.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