FsFlow.DiagnosticsModule.singleton

Creates a diagnostics graph containing exactly one error at the root.

Parameters

  • error: The application error to store at the root.

Returns

A Diagnostics with a single error.