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

API Browser

Method

FormatError

func FormatError() -> string

Declaring type: ErrorFormattingExtensions
Module: System
Assembly: System.Runtime.dll

Extension from ErrorFormattingExtensions.FormatError

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.

Parameters

Name Type Description
self Error

Return value

String