ReferenceException constructor Null safety

ReferenceException(
  1. String? correlationId,
  2. dynamic locator
)

Creates an error instance and assigns its values.

  • correlation_id (optional) a unique transaction id to trace execution through call chain.
  • locator the locator to find reference to dependent component.