Class EzrAssertionError
- Namespace
- EzrSquared.Runtime.Types.Core.Errors
- Assembly
- ezrSquared-lib.dll
Error type for when an assertion fails.
[WrapMember("assertion_error", false, false)]
public class EzrAssertionError : EzrRuntimeError, IEzrRuntimeError, IEzrObject, IEzrError
- Inheritance
-
objectEzrAssertionError
- Implements
- Inherited Members
Constructors
EzrAssertionError(Context, Position, Position)
Error type for when an assertion fails.
public EzrAssertionError(Context context, Position startPosition, Position endPosition)
Parameters
context
ContextThe context in which the error occurred.
startPosition
PositionThe starting position of the error.
endPosition
PositionThe ending position of the error.
EzrAssertionError(IEzrObject, Context)
Wrapper constructor for creating the error object.
[WrapMember(false, false)]
public EzrAssertionError(IEzrObject wrapper, Context executionContext)
Parameters
wrapper
IEzrObjectThe caller.
executionContext
ContextThe execution context.
Properties
Tag
The tag of the type of this object, similar to C# namespace naming conventions.
public override string Tag { get; protected internal set; }
Property Value
- string
TypeName
The name of the type of this object, in plain text, all lowercase. Spaces are allowed.
public override string TypeName { get; protected internal set; }
Property Value
- string