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 InvalidExtensionError
extends Error

Error thrown when an attempt is made to extend a binding that does not exist. This error indicates that the specified type has not been registered in the container.

Constructors

new
InvalidExtensionError(type:
Function
| z.ZodType<any>
| string
)

Creates an instance of InvalidExtensionError.

Add Package

deno add jsr:@findhow/container

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @findhow/container

Import symbol

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

Add Package

yarn dlx jsr add @findhow/container

Import symbol

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

Add Package

pnpm dlx jsr add @findhow/container

Import symbol

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

Add Package

bunx jsr add @findhow/container

Import symbol

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