AngouriMath
AngouriMath.Core.Exceptions
Classes within the AngouriMath.Core.Exceptions namespace
AngouriBugException
Summary
If one was thrown, the exception is probably not foreseen by AM. Report it is an issueAngouriMathBaseException
Summary
This is the base exception of all exceptions thrown by AngouriMath.
If one needs to catch all exceptions from AngouriMath, it is enough
to catch this one
BadMatrixShapeException
Summary
Happens when matrices don't have a correct shape, e. g.
trying to concat when they have different sizes by one side.
CannotEvalException
Summary
Is thrown when something cannot be collapsed into a single number or booleanCannotParseInstanceException
Summary
May be thrown when trying to parse an instance from a string
Example
Set set = "{ 1, 2 }"; // not thrown Set set = "1 + 2"; // thrown
ElementInSetAmbiguousException
Summary
Cannot figure out whether the entity is in the setFunctionArgumentCountException
Summary
Thrown when a wrong number of arguments are encountered when parsing a function
from a string.
FutureReleaseException
Summary
Is thrown when the requested feature is still under developing
or not considered to be developed at all
InvalidArgumentParseException
Summary
Thrown when an invalid argument passed to a AM's functionInvalidMatrixOperationException
Summary
Thrown in matrix operations
InvalidNumberException
Summary
Thrown when an invalid number is passed as an argumentInvalidNumericSystemException
Summary
Occurs when an invalid numeric system was provided to functions
ToBaseN(AngouriMath.Entity.Number.Real,System.Int32) or FromBaseN(System.String,System.Int32)InvalidProtocolProvided
Summary
Occurs when no custom compilation protocol was provided, while the built-in one
does not have the given type defined for the given operator. To resolve it,
create your own CompilationProtocol.
LimitOperationNotSupportedException
Summary
Thrown inside operations related to limitsMathSException
Summary
If one is thrown, the user's input is invalidMissingOperatorParseException
Summary
Is thrown only when the explicit parsing mode is enabled and the input misses
some operator, for example, 2x should be 2 * x with explicit parsing mode.
NotSufficientlySupportedException
Summary
In case if AM or other parts do not support something,
for example, it may occur if either AM or SymPy does not
support some specific feature
NumberCastException
Summary
Thrown when invalid cast encounteredParseException
Summary
Thrown when trying to parse an invalid stringSolveRequiresStatementException
Summary
Thrown if instead of a statement another expression is put into SolveTreeException
Summary
Thrown when an invalid node or combination of nodes in the expression tree is encounteredUncompilableNodeException
Summary
Thrown when trying to compile and a node cannot be compiledUnhandledParseException
Summary
Can only occur in the ANTLR parser when it is unclear what exactly happenedUnrecognizedDomainException
Summary
Thrown when non-known domain is passed to the domain functionWrongNumberOfArgumentsException
Summary
Quite general, is thrown when too many or too few of whatever is provided
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online