The ReferenceException class provides a Reference error type, which can be used to create an error instance when a required component dependency cannot be found.
Creates an error instance and assigns its values.
publicconstructor(correlationId: string, locator: any)
- correlationId: string - (optional) a unique transaction id to trace execution through call chain.
- locator: any - the locator to find reference to dependent component.