Skip to main content

Built and signed on GitHub Actions

Wasn't a fan of using decorators to dependency inject things in the TypeScript world. Now you don't have to.

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
a week ago (0.2.1)
class CircularDependencyError
extends Error

Error thrown when a circular dependency is detected. This error indicates that the dependency resolution process has encountered a loop.

Constructors

new
CircularDependencyError(dependencyChain: string[])

Creates an instance of CircularDependencyError.

Add Package

deno add jsr:@findhow/container

Import symbol

import { CircularDependencyError } from "@findhow/container";

---- OR ----

Import directly with a jsr specifier

import { CircularDependencyError } from "jsr:@findhow/container";

Add Package

npx jsr add @findhow/container

Import symbol

import { CircularDependencyError } from "@findhow/container";

Add Package

yarn dlx jsr add @findhow/container

Import symbol

import { CircularDependencyError } from "@findhow/container";

Add Package

pnpm dlx jsr add @findhow/container

Import symbol

import { CircularDependencyError } from "@findhow/container";

Add Package

bunx jsr add @findhow/container

Import symbol

import { CircularDependencyError } from "@findhow/container";