This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VRC0002: Does not support throwing exceptions
Property | Value |
---|---|
ID | VRC0002 |
Category | Compiler |
Severity | Error |
Runtime Version | 3.1.0 ~ latest |
Does not support throwing exceptions
Example
Code with Diagnostic
using System;
using UdonSharp;
class TestBehaviour0 : UdonSharpBehaviour
{
public void TestMethod()
{
throw new NotSupportedException();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
}
Code with Fix
// NOT YET PROVIDED