CircularReferenceException

Exception denoting a circular dependency in DI container.

Exception denoting a circular dependency in DI container. It is thrown when a DI gets an InProgressException, or it detected a circular dependency in other way.

Constructors

this
this(string msg, string identity, string file, size_t line, Throwable next)
this(string msg, string identity, Throwable next, string file, size_t line)

Creates a new instance of Exception. The nextInChain parameter is used internally and should always be null when passed by user code. This constructor does not automatically throw the newly-created Exception; the throw statement should be used for that purpose.

Members

Functions

pushMessage
void pushMessage(void delegate(in char[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

chain
string[] chain;

The circular dependency chain found in container.

Inherited Members

From AediException

identity
string identity;

Identity of offending component.

__anonymous
mixin AdvancedExceptionPrinting
Undocumented in source.
pushMessage
void pushMessage(void delegate(in char[]) sink)

A special function used to print customized message using built-in properties, with as less as possible allocations.

toString
alias toString = typeof(super).toString
Undocumented in source.

Meta