GraphReFlyTS

API Reference

fromNestError()

D474 P0 error/filter ingress.

Import

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

Signature

function fromNestError(
	graph: Graph,
	opts: NestIngressOptions<THost, TPayload> = {},
): NestIngressBoundary<THost, TPayload>

Parameters

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsNestIngressOptions<THost, TPayload>Options that configure the helper.

Returns

A NestIngressBoundary<THost, TPayload> value for the boundary or adapter.

Example

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

Source

packages/ts/src/adapters/nestjs.ts