跳到主要内容
版本:0.1.0

Class RCaronException

Assembly: RCaron.dll
View Source
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

View Source
Declaration
csharp
public RCaronExceptionCode Code { get; }
Declaration
csharp
public RCaronExceptionCode Code { get; }

Methods

VariableNotFound(ReadOnlySpan<char>)

View Source
Declaration
csharp
public static RCaronException VariableNotFound(ReadOnlySpan<char> name)
Declaration
csharp
public static RCaronException VariableNotFound(ReadOnlySpan<char> name)
Returns

RCaron.RCaronException

Parameters
TypeName
System.ReadOnlySpan<System.Char>name

NullInTokens(in Span<PosToken>, string, int)

View Source
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
TypeName
System.Span<RCaron.PosToken>tokens
System.Stringraw
System.Int32index

LeftOverPositionalArgument()

View Source
Declaration
csharp
public static RCaronException LeftOverPositionalArgument()
Declaration
csharp
public static RCaronException LeftOverPositionalArgument()
Returns

RCaron.RCaronException

NamedArgumentNotFound(in ReadOnlySpan<char>)

View Source
Declaration
csharp
public static RCaronException NamedArgumentNotFound(in ReadOnlySpan<char> argName)
Declaration
csharp
public static RCaronException NamedArgumentNotFound(in ReadOnlySpan<char> argName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.ReadOnlySpan<System.Char>argName

ArgumentsLeftUnassigned()

View Source
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned()
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned()
Returns

RCaron.RCaronException

ArgumentsLeftUnassigned(in ReadOnlySpan<char>)

View Source
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned(in ReadOnlySpan<char> argName)
Declaration
csharp
public static RCaronException ArgumentsLeftUnassigned(in ReadOnlySpan<char> argName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.ReadOnlySpan<System.Char>argName

TypeNotFound(string)

View Source
Declaration
csharp
public static RCaronException TypeNotFound(string name)
Declaration
csharp
public static RCaronException TypeNotFound(string name)
Returns

RCaron.RCaronException

Parameters
TypeName
System.Stringname

PositionalArgumentAfterNamedArgument()

View Source
Declaration
csharp
public static RCaronException PositionalArgumentAfterNamedArgument()
Declaration
csharp
public static RCaronException PositionalArgumentAfterNamedArgument()
Returns

RCaron.RCaronException

LetVariableTypeMismatch(string, Type, Type)

View Source
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
TypeName
System.Stringname
System.Typetype
System.TypevalueType

ClassPropertyNotFound()

View Source
Declaration
csharp
public static RCaronException ClassPropertyNotFound()
Declaration
csharp
public static RCaronException ClassPropertyNotFound()
Returns

RCaron.RCaronException

ClassPropertyNotFound(string)

View Source
Declaration
csharp
public static RCaronException ClassPropertyNotFound(string propertyName)
Declaration
csharp
public static RCaronException ClassPropertyNotFound(string propertyName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringpropertyName

ClassStaticPropertyNotFound(string)

View Source
Declaration
csharp
public static RCaronException ClassStaticPropertyNotFound(string propertyName)
Declaration
csharp
public static RCaronException ClassStaticPropertyNotFound(string propertyName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringpropertyName

ClassFunctionNotFound(string)

View Source
Declaration
csharp
public static RCaronException ClassFunctionNotFound(string functionName)
Declaration
csharp
public static RCaronException ClassFunctionNotFound(string functionName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringfunctionName

ClassStaticFunctionNotFound(string)

View Source
Declaration
csharp
public static RCaronException ClassStaticFunctionNotFound(string functionName)
Declaration
csharp
public static RCaronException ClassStaticFunctionNotFound(string functionName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringfunctionName

FunctionToImportNotFound(string)

View Source
Declaration
csharp
public static RCaronException FunctionToImportNotFound(string functionName)
Declaration
csharp
public static RCaronException FunctionToImportNotFound(string functionName)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringfunctionName

ClassToImportNotFound(string)

View Source
Declaration
csharp
public static RCaronException ClassToImportNotFound(string className)
Declaration
csharp
public static RCaronException ClassToImportNotFound(string className)
Returns

RCaron.RCaronException

Parameters
TypeName
System.StringclassName

ExecutionNotAllowed()

View Source
Declaration
csharp
public static RCaronException ExecutionNotAllowed()
Declaration
csharp
public static RCaronException ExecutionNotAllowed()
Returns

RCaron.RCaronException

Implements

  • System.Runtime.Serialization.ISerializable

Extension Methods