Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Type extension

ErrorFormattingExtensions

extension ErrorFormattingExtensions for Error

Module: System
Assembly: System.Runtime.dll

Human-readable diagnostics for explicit reporting boundaries.

Receiver

Error

Methods

1 item
Extension member: FormatError() -> string Formats up to 64 error layers and one existing trace; never captures a stack. A longer or cyclic chain ends with a truncation marker. Messages are not machine codes. Extension from ErrorFormattingExtensions.FormatError