Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/deps.ts>ValidationError#toString

Refer to nestjs to realize some common functions for Deno
Go to Latest
method ValidationError.prototype.toString
Re-export
import { ValidationError } from "https://deno.land/x/oak_nest@v1.13.17/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