Constructor

.ctor

init(Message: string, Cause: TError) -> ()

Type: ContextError<TError>
Namespace: System
Assembly: Raven.Core.dll
Source file: Error.rvn

Adds contextual information around an existing main error.

The contextual message describes the current operation. Cause preserves the underlying typed error so explicit error propagation does not erase the original failure.

Type parameters

Name Description
TError The type of the underlying error.