WrapperException class

Represents an exception that wraps another exception and optionally an ErrorRecord.

public class WrapperException : Exception

Public Members

name description
WrapperException() Initializes a new instance of the WrapperException class.
WrapperException(…) Initializes a new instance of the WrapperException class with a specified error message. (3 constructors)
ErrorRecordWrapper { get; } Gets the wrapped ErrorRecordWrapper associated with this exception, if any.
override ToString() Returns a string representation of the inner exception, or an empty string if none exists.

See Also