Skip to main content

ContainerError

Parent error class for all Container errors.

@group

Errors/Container

@throws

Never itself; the classes extending it are.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • type: string | Constructable<unknown>

      The class the container was resolving or registering.

    Returns ContainerError

Properties

readonlytype

type: string

The name of the class the container was asked about.

Page Options