Method

Box

static func Box(self: IError, message: string) -> ContextError<IError>

Type: ErrorObjectExtensions
Namespace: System
Assembly: Raven.Core.dll
Source file: Error.rvn

Boxes this error in a contextual error with the specified message.

Parameters

Name Description
message The contextual message.

Returns

A contextual error whose cause is this error.