Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CustomErrorRule

import type { CustomErrorRule } from "https://googleapis.deno.dev/v1/serviceusage:v1.ts";

A custom error rule.

interface CustomErrorRule {
isErrorType?: boolean;
selector?: string;
}

§Properties

§
isErrorType?: boolean
[src]

Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.

§
selector?: string
[src]

Selects messages to which this rule applies. Refer to selector for syntax details.