Skip to main content
Module

x/leaves/mod.ts>validator.UseContainerOptions

A Web framework For Deno with Decorator and middleware
Latest
interface validator.UseContainerOptions
import { type validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { UseContainerOptions } = validator;

Container options.

Properties

optional
fallback: boolean

If set to true, then default container will be used in the case if given container haven't returned anything.

optional
fallbackOnErrors: boolean

If set to true, then default container will be used in the case if given container thrown an exception.