Member group
.ctor
Declaring type: ContextError<E>
Module: System
Assembly: System.Runtime.dll
Source file: Error.rvn
Overloads / Variants
.ctor
init(message: string, cause: E, captureStackTrace: bool) -> void
Source file: Error.rvn
Adds context with an explicit per-call override of the application capture setting. Capture records the attachment site only when the cause chain has no existing trace.
Parameters
| Name | Type | Description |
|---|---|---|
message |
String | |
cause |
E | |
captureStackTrace |
Boolean |
.ctor
init(message: string, cause: E) -> void
Source file: Error.rvn
Adds context using the application stack-capture setting, which defaults to disabled.
Parameters
| Name | Type | Description |
|---|---|---|
message |
String | |
cause |
E |