Table of Contents

Class EzrMathError

Namespace
EzrSquared.Runtime.Types.Core.Errors
Assembly
ezrSquared-lib.dll

Error type for when a generic mathematical error occurs.

[WrapMember("math_error", false, false)]
public class EzrMathError : EzrRuntimeError, IEzrRuntimeError, IEzrObject, IEzrError
Inheritance
object
EzrMathError
Implements
Inherited Members

Constructors

EzrMathError(string, string, Context, Position, Position)

Error type for when a generic mathematical error occurs.

public EzrMathError(string title, string details, Context context, Position startPosition, Position endPosition)

Parameters

title string

The title of the error.

details string

Details on why the error happened.

context Context

The context in which the error occurred.

startPosition Position

The starting position of the error.

endPosition Position

The ending position of the error.

EzrMathError(string, string, IEzrObject, Context)

Wrapper constructor for creating the error object.

[WrapMember(false, false)]
public EzrMathError(string title, string details, IEzrObject wrapper, Context executionContext)

Parameters

title string

The title of the error.

details string

Details on why the error happened.

wrapper IEzrObject

The caller.

executionContext Context

The 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