Class EzrUnexpectedArgumentError
- Namespace
- EzrSquared.Runtime.Types.Core.Errors
- Assembly
- ezrSquared-lib.dll
Error type for when an unexpected argument is encountered.
[WrapMember("unexpected_argument_error", false, false)]
public class EzrUnexpectedArgumentError : EzrRuntimeError, IEzrRuntimeError, IEzrObject, IEzrError
- Inheritance
-
objectEzrUnexpectedArgumentError
- Implements
- Inherited Members
Constructors
EzrUnexpectedArgumentError(string, Context, Position, Position)
Error type for when an unexpected argument is encountered.
public EzrUnexpectedArgumentError(string details, Context context, Position startPosition, Position endPosition)
Parameters
detailsstringDetails on why the error happened.
contextContextThe context in which the error occurred.
startPositionPositionThe starting position of the error.
endPositionPositionThe ending position of the error.
EzrUnexpectedArgumentError(string, IEzrObject, Context)
Wrapper constructor for creating the error object.
[WrapMember(false, false)]
public EzrUnexpectedArgumentError(string details, IEzrObject wrapper, Context executionContext)
Parameters
detailsstringDetails on why the error happened.
wrapperIEzrObjectThe caller.
executionContextContextThe 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