BuildError class

Utilities for formatting PowerShell error streams into HTTP responses.

public static class BuildError

Public Members

name description
static ResponseAsync(…) Write the formatted PowerShell errors directly to the HTTP response.
static Result(…) Convert the current PowerShell error streams to a plain-text IResult.
static Text(…) Collate all PowerShell streams (error, verbose, warning, etc.) into a single string.

See Also