GraphReFlyTS

API Reference

createGraphExceptionFilter()

Creates a graph exception filter.

Import

import { createGraphExceptionFilter } from "@graphrefly/ts/adapters/nestjs/native";

Signature

function createGraphExceptionFilter(opts: GraphExceptionFilterProviderOptions<THost>): ExceptionFilter & OnModuleDestroy

Parameters

ParameterTypeDescription
optsGraphExceptionFilterProviderOptions<THost>Options that configure the helper.

Returns

The create graph exception filter result.

Example

import { createGraphExceptionFilter } from "@graphrefly/ts/adapters/nestjs/native";

Source

packages/ts/src/adapters/nestjs/native.ts