The warning message and exception message
Message
00 Remarks
this runtime message object is a collection of the error message string
01 Syntax
SMRUCC.Rsharp.Runtime.Components.Message
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToCLRException | 1 | Convert R# error message to VB.NET clr exception object |
| AsWarning | 1 | convert the message level to warning level |
| ThrowCLRError | 1 | throw the Exception data that cast from Message.ToCLRException() |
| SymbolNotFound | 1 | create a symbol not found error message |
| Error | 1 | |
| SyntaxNotImplemented | 1 | |
| InCompatibleType | 1 | |
| NullOrStrict | 1 | |
| ToErrorText | 1 | |
| ToString | 1 | |
| GenericEnumerator | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| message | 1 | the message content about this error or warning |
| level | 1 | the .NET log levels of current message object, value could be warning and error |
| environmentStack | 1 | [R# runtime] the R# scripting environment runtime stack trace |
| trace | 1 | [VB.NET runtime] the R# engine stack trace |
| source | 1 | the source R# expression that cause this error or warning message |
04 Members
ToCLRException
Convert R# error message to VB.NET clr exception object
AsWarning
convert the message level to warning level
ThrowCLRError
throw the Exception data that cast from Message.ToCLRException()
create a symbol not found error message
Parameters
| Name | Type | Description |
|---|---|---|
envir | Environment | - |
symbolName$ | String | - |
type | TypeCodes | - |
message
the message content about this error or warning
level
the .NET log levels of current message object, value could be warning and error
environmentStack
[R# runtime] the R# scripting environment runtime stack trace
trace
[VB.NET runtime] the R# engine stack trace
source
the source R# expression that cause this error or warning message
Error(
String, StackFrame())SyntaxNotImplemented(Environment,
String)ToErrorText()
ToString()
GenericEnumerator()