CreateException constructor

CreateException(String correlationId, dynamic messageOrLocator)

Creates an error instance and assigns its values.

  • correlation_id (optional) a unique transaction id to trace execution through call chain.
  • messageOrLocator human-readable error or locator of the component that cannot be created.