Class RCaronException
Assembly: RCaron.dll
Declaration
csharp
public class RCaronException : Exception, ISerializable
Declaration
csharp
public class RCaronException : Exception, ISerializable
Inheritance: System.Object
-> System.Exception
Derived:
RCaron.Parsing.ParsingException
Implements:
System.Runtime.Serialization.ISerializable
Properties
Code
Declaration
csharp
public RCaronExceptionCode Code { get; }
Declaration
csharp
public RCaronExceptionCode Code { get; }
Methods
VariableNotFound(ReadOnlySpan<char>)
Declaration
csharp
public static RCaronException VariableNotFound(ReadOnlySpan<char> name)
Declaration
csharp
public static RCaronException VariableNotFound(ReadOnlySpan<char> name)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.ReadOnlySpan<System.Char> | name |
NullInTokens(in Span<PosToken>, string, int)
Declaration
csharp
public static RCaronException NullInTokens(in Span<PosToken> tokens, string raw, int index)
Declaration
csharp
public static RCaronException NullInTokens(in Span<PosToken> tokens, string raw, int index)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.Span<RCaron.PosToken> | tokens |
System.String | raw |
System.Int32 | index |
LeftOverPositionalArgument()
Declaration
csharp
public static RCaronException LeftOverPositionalArgument()
Declaration
csharp
public static RCaronException LeftOverPositionalArgument()
Returns
RCaron.RCaronException
NamedArgumentNotFound(in ReadOnlySpan<char>)
Declaration
csharp
public static RCaronException NamedArgumentNotFound(in ReadOnlySpan<char> argName)
Declaration
csharp
public static RCaronException NamedArgumentNotFound(in ReadOnlySpan<char> argName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.ReadOnlySpan<System.Char> | argName |
ArgumentsLeftUnassigned()
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned()
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned()
Returns
RCaron.RCaronException
ArgumentsLeftUnassigned(in ReadOnlySpan<char>)
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned(in ReadOnlySpan<char> argName)
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned(in ReadOnlySpan<char> argName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.ReadOnlySpan<System.Char> | argName |
TypeNotFound(string)
Declaration
csharp
public static RCaronException TypeNotFound(string name)
Declaration
csharp
public static RCaronException TypeNotFound(string name)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | name |
PositionalArgumentAfterNamedArgument()
Declaration
csharp
public static RCaronException PositionalArgumentAfterNamedArgument()
Declaration
csharp
public static RCaronException PositionalArgumentAfterNamedArgument()
Returns
RCaron.RCaronException
LetVariableTypeMismatch(string, Type, Type)
Declaration
csharp
public static RCaronException LetVariableTypeMismatch(string name, Type type, Type valueType)
Declaration
csharp
public static RCaronException LetVariableTypeMismatch(string name, Type type, Type valueType)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | name |
System.Type | type |
System.Type | valueType |
ClassPropertyNotFound()
Declaration
csharp
public static RCaronException ClassPropertyNotFound()
Declaration
csharp
public static RCaronException ClassPropertyNotFound()
Returns
RCaron.RCaronException
ClassPropertyNotFound(string)
Declaration
csharp
public static RCaronException ClassPropertyNotFound(string propertyName)
Declaration
csharp
public static RCaronException ClassPropertyNotFound(string propertyName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | propertyName |
ClassStaticPropertyNotFound(string)
Declaration
csharp
public static RCaronException ClassStaticPropertyNotFound(string propertyName)
Declaration
csharp
public static RCaronException ClassStaticPropertyNotFound(string propertyName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | propertyName |
ClassFunctionNotFound(string)
Declaration
csharp
public static RCaronException ClassFunctionNotFound(string functionName)
Declaration
csharp
public static RCaronException ClassFunctionNotFound(string functionName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | functionName |
ClassStaticFunctionNotFound(string)
Declaration
csharp
public static RCaronException ClassStaticFunctionNotFound(string functionName)
Declaration
csharp
public static RCaronException ClassStaticFunctionNotFound(string functionName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | functionName |
FunctionToImportNotFound(string)
Declaration
csharp
public static RCaronException FunctionToImportNotFound(string functionName)
Declaration
csharp
public static RCaronException FunctionToImportNotFound(string functionName)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | functionName |
ClassToImportNotFound(string)
Declaration
csharp
public static RCaronException ClassToImportNotFound(string className)
Declaration
csharp
public static RCaronException ClassToImportNotFound(string className)
Returns
RCaron.RCaronException
Parameters
Type | Name |
---|
System.String | className |
ExecutionNotAllowed()
Declaration
csharp
public static RCaronException ExecutionNotAllowed()
Declaration
csharp
public static RCaronException ExecutionNotAllowed()
Returns
RCaron.RCaronException
Implements
System.Runtime.Serialization.ISerializable
Extension Methods