How many different desmos errors are there?

Does anyone know?

I’ve already seen a bunch, but it would be cool if we had a list.

variable cannot support multiple update rules

Sorry, I don’t understand this

x and y cannot be defined in terms of each other

`Try adding y= to the beginning of this equation.`

Googling says there’s dozens, but they’re also dynamic and context specific. One you might find fun is this reddit post.

Just checked it out… wow thats a lot of errors.

There are some pretty rare ones, like i recently got “Cannot call .count to a number” or something like that. So yes, you’re right. They are pretty context specific, so maybe calling them rare is wrong.

i cant even figure out the .count function, in my experience it just takes the number and outputs it lol

.count is the length of a list. In standard graphs, it is exactly the same as .length. However, in geometry graphs, .length is a figure measurement, so .count was added as an alternative. Eventually, graph types may merge, so it’s best to use .count for list length.

1 Like

that clears it up, thanks

Here’s the complete list of errors extracted from the desmos javascript files:

    • shared-calculator-error-3d-bad-equality-slice = We don’t support this type of equality restriction.
    • shared-calculator-error-3d-length-type-error = Function ‘{ $fn }’ cannot be applied to { $arg } in the 3d calculator. Use ‘{ $alternativeFn }’ to find the number of elements in a list.
    • shared-calculator-error-3d-mixed-restriction-equation = Cannot apply both an inequality restriction and an equality restriction to this expression.
    • shared-calculator-error-3d-multiple-equality-restrictions = Cannot apply more than one equality restriction.
    • shared-calculator-error-3d-object-in-2d = This calculator cannot plot { $type }.
    • shared-calculator-error-action-merge-free-variable = Cannot combine an action that depends on free variable ‘{ $symbol }’.
    • shared-calculator-error-add-arguments-to-definition-many = Try including ‘{ $symbols }’ and ‘{ $lastSymbol }’ as arguments by defining the function as ‘{ $newSignature }’.
    • shared-calculator-error-add-arguments-to-definition-one = Try including ‘{ $lastSymbol }’ as an argument by defining the function as ‘{ $newSignature }’.
    • shared-calculator-error-add-type-error = Cannot add { $symbol1 } and { $symbol2 }.
    • shared-calculator-error-adjacent-mixed-number = Sorry, I don’t know what to do with mixed number ‘{ $mixedNumber }’. Try using a ‘*’ symbol around it.
    • shared-calculator-error-adjacent-numbers = Sorry, I don’t know what to do with adjacent numbers ‘{ $left }’ and ‘{ $right }’. Try using parentheses or a ‘*’ symbol.
    • shared-calculator-error-ans-undefined = The previous expression didn’t define any value for ans.
    • shared-calculator-error-assignments-unsupported = This calculator does not support defining variables.
    • shared-calculator-error-bad-count = ‘{ $symbol }’ count must be a finite, non-negative integer.
    • shared-calculator-error-bad-counts = Each ‘{ $symbol }’ count must be a finite, non-negative integer.
    • shared-calculator-error-bad-for-input-list-dependency = A definition on the right-hand side of ‘for’ can’t depend on input variable ‘{ $symbol }’.
    • shared-calculator-error-bad-for-interval-dependency = Parameter bounds on the right-hand side of ‘for’ can’t depend on input variable ‘{ $symbol }’.
    • shared-calculator-error-bad-implicit-call = Use parentheses around the argument of ‘{ $symbol }’.
    • shared-calculator-error-bad-integral-bound-dependency = Integration bounds can’t depend on integration variable ‘{ $symbol }’.
    • shared-calculator-error-bad-interval-comprehension-arity =
      { $count →
      [one] You can’t use ‘for’ to parameterize { $type } using 1 parameter.
      *[other] You can’t use ‘for’ to parameterize { $type } using { $count } parameters.
      }
    • shared-calculator-error-bad-log-exponent = Only { $form } is supported. Otherwise, use parens.
    • shared-calculator-error-bad-product-bound-dependency = Product bounds can’t depend on product index ‘{ $symbol }’.
    • shared-calculator-error-bad-sample-size = Sample size must be a finite, non-negative number.
    • shared-calculator-error-bad-sum-bound-dependency = Summation bounds can’t depend on summation index ‘{ $symbol }’.
    • shared-calculator-error-bad-symbol-context = You can’t use ‘{ $symbol }’ in this context.
    • shared-calculator-error-bad-trig-exponent = Only { $form1 } and { $form2 } are supported. Otherwise, use parens.
    • shared-calculator-error-bad-tuple-dimensions = Points may only have { $symbol } coordinates.
    • shared-calculator-error-binary-operator-missing-operand = You need something on both sides of the ‘{ $symbol }’ symbol.
    • shared-calculator-error-blank-expression = You haven’t written anything yet.
    • shared-calculator-error-boxplot-breadth-invalid = Invalid height. Try using any number.
    • shared-calculator-error-boxplot-offset-invalid = Invalid offset. Try using any number.
    • shared-calculator-error-cannot-assign-color = Cannot assign a color to ‘{ $variable }’.
    • shared-calculator-error-cannot-redefine = You can’t redefine ‘{ $symbol }’ because it’s already defined.
    • shared-calculator-error-cannot-redefine-root = You can’t define ‘{ $symbol }’ because ‘{ $symbolRoot }’ is already defined.
    • shared-calculator-error-cannot-restrict = Cannot create a restriction based on ‘{ $variable }’ in this type of expression.
    • shared-calculator-error-cannot-restrict-triangles-with-list = Cannot use a list of restrictions on 3d triangles.
    • shared-calculator-error-cannot-restrict-with-equality = Cannot create an equality restriction based on ‘{ $variable }’ in this type of expression.
    • shared-calculator-error-cannot-subscript = ‘{ $symbol }’ cannot have a subscript.
    • shared-calculator-error-cant-combine-spherical-and-cylindrical = Can’t combine spherical and cylindrical coordinates.
    • shared-calculator-error-cdf-bound-invalid = Invalid cdf bound. Try using any number.
    • shared-calculator-error-cdf-too-many-arguments = ‘cdf’ should be called on a distribution with at most two numbers. { $recommendation }
    • shared-calculator-error-cdf-too-many-arguments-recommendation = For example, try typing: D.cdf(-1,1) where D=normaldist().
    • shared-calculator-error-cdf-wrong-arity = ‘cdf’ should be called on a distribution with at least one number. { $recommendation }
    • shared-calculator-error-cdf-wrong-arity-recommendation = For example, try typing: D.cdf(x) where D=normaldist().
    • shared-calculator-error-chisq-list-length-mismatch = Arguments of ‘{ $symbol }’ must be lists with the same length.
    • shared-calculator-error-chisq-list-too-short = Each argument of ‘{ $symbol }’ must be a list with at least 2 elements.
    • shared-calculator-error-chisq-variable-list-length = Arguments of ‘{ $symbol }’ must be lists with constant length.
    • shared-calculator-error-clickable-object-assignment-not-defined = “{ $symbol }” is not defined. Try using a different variable or adding a slider.
    • shared-calculator-error-clickable-object-assignment-not-identifier = Invalid symbol. Try using a single letter.
    • shared-calculator-error-clickable-object-invalid-expression = Can’t evaluate this. Try a number or simple expression.
    • shared-calculator-error-colon-missing-condition = The left side of a ‘:’ must be a condition, like ‘x>1’.
    • shared-calculator-error-color-arity = ‘{ $symbol }’ should be called with 3 arguments. { $recommendation }
    • shared-calculator-error-color-arity-recommendation = For example, try typing: { $recommendation }.
    • shared-calculator-error-color-function-exceeds-cost-limit = Color function expression is too complicated.
    • shared-calculator-error-color-functions-can-depend-only-on-xyz = Color functions can depend only on x, y, and z.
    • shared-calculator-error-color-not-assigned = To use a color, you must assign it to a variable.
    • shared-calculator-error-combine-type-error = Cannot combine { $symbol1 } and { $symbol2 }.
    • shared-calculator-error-comparator-type-error = Cannot compare { $symbol1 } to { $symbol2 }.
    • shared-calculator-error-complex-list-access = Indexing a list with a complex number is not well-defined.
    • shared-calculator-error-complex-operation-undefined = Note: ‘{ $symbol }’ isn’t well-defined for complex numbers.
    • shared-calculator-error-complex-operation-unimplemented = Note: ‘{ $symbol }’ is not yet implemented for complex numbers.
    • shared-calculator-error-complex-point-coordinate = Points with complex coordinates are not supported.
    • shared-calculator-error-complex-round = Note: ‘{ $symbol }’ with complex precision is not well-defined.
    • shared-calculator-error-complex-sort = Note: ‘{ $symbol }’ uses lexicographic ordering for complex numbers.
    • shared-calculator-error-complex-table-point-coordinate = Only real-valued coordinate pairs can be plotted.
    • shared-calculator-error-complex-wirtinger-differs = The derivative of a non-holomorphic function is treated as the Wirtinger derivative.
    • shared-calculator-error-complicated-double-inequality = We only support solved double inequalities. Try deleting one side of the inequality.
    • shared-calculator-error-complicated-polar-implicit = Polar equations must be linear in r.
    • shared-calculator-error-constant-unsupported = This calculator does not support the constant ‘{ $symbol }’.
    • shared-calculator-error-coordinate-access-type-error = Cannot access coordinate ‘{ $coordinate }’ of { $symbol }.
    • shared-calculator-error-custom-regressions-unsupported = This calculator does not support custom regressions.
    • shared-calculator-error-custom-toolbar-not-condition = Please write a valid condition and make sure every referenced variable is defined.
    • shared-calculator-error-deeply-nested = Definitions are nested too deeply.
    • shared-calculator-error-dependency-cycle = ‘{ $symbols }’ and ‘{ $lastSymbol }’ can’t be defined in terms of each other.
    • shared-calculator-error-depends-on-undefined-reference = This depends on a reference that’s no longer defined.
    • shared-calculator-error-derivative-missing-body = What do you want to take the derivative of?
    • shared-calculator-error-derivative-recursive-cycle = Cannot take the derivative of { $symbol1 } inside its own definition.
    • shared-calculator-error-derivative-type-error = Cannot take the derivative of { $symbol }.
    • shared-calculator-error-derivative-type-error-respect = Cannot take the derivative of { $symbol1 } with respect to { $symbol2 }.
    • shared-calculator-error-derivative-variable-type-error = Cannot take derivative with respect to ‘{ $symbol1 }’ because it is { $symbol2 }.
    • shared-calculator-error-differential-with-superscript = Integration variable cannot have a superscript.
    • shared-calculator-error-distribution-as-function = Cannot call distribution ‘{ $symbol }’ as a function. Try ‘{ $symbol }.pdf(x)’.
    • shared-calculator-error-divide-type-error = Cannot divide { $symbol1 } by { $symbol2 }.
    • shared-calculator-error-domain-max-invalid = Invalid domain max. Try using any number.
    • shared-calculator-error-domain-max-less-than-min = Invalid domain limits. Min should be less than max.
    • shared-calculator-error-domain-min-invalid = Invalid domain min. Try using any number.
    • shared-calculator-error-dot-lhs-constant-number = Sorry, I don’t understand this use of ‘.’ after a constant number.
    • shared-calculator-error-dot-lhs-type-error = Cannot call ‘.{ $symbol }’ on { $type }.
    • shared-calculator-error-dot-rhs-property-error = ‘.{ $symbol }’ cannot be followed by parentheses.
    • shared-calculator-error-duplicate-function-parameter = Cannot use ‘{ $dependency }’ for multiple parameters of this function.
    • shared-calculator-error-duplicate-update-rules = An action cannot specify multiple update rules for ‘{ $symbol }’.
    • shared-calculator-error-empty-paren = Parentheses cannot be empty.
    • shared-calculator-error-empty-pipe = Absolute value symbol cannot be empty.
    • shared-calculator-error-empty-radical = Radical cannot be empty.
    • shared-calculator-error-empty-radical-index = Radical index cannot be empty.
    • shared-calculator-error-empty-square-bracket = Square brackets cannot be empty.
    • shared-calculator-error-empty-subscript = Subscripts cannot be empty.
    • shared-calculator-error-empty-superscript = Superscripts cannot be empty.
    • shared-calculator-error-equation-required = Try adding an equals sign to turn this into an equation.
    • shared-calculator-error-equation-required-symbol = Try adding ‘{ $lhs }’ to the beginning of this equation.
    • shared-calculator-error-equations-unsupported = This calculator does not support this type of equation.
    • shared-calculator-error-event-handler-type-error = This should be an action. Try ‘{ $example }’.
    • shared-calculator-error-exponent-type-error = Cannot raise { $symbol1 } to { $symbol2 }.
    • shared-calculator-error-feature-unavailable = This feature is not available in the current calculator.
    • shared-calculator-error-fraction-empty = You need a numerator and denominator for your fraction.
    • shared-calculator-error-fraction-missing-denominator = You need a denominator for the bottom of your fraction.
    • shared-calculator-error-fraction-missing-numerator = You need a numerator for the top of your fraction.
    • shared-calculator-error-function-definition-unsupported = This calculator does not support function definitions.
    • shared-calculator-error-function-name-as-parameter = Cannot use function name ‘{ $dependency }’ as a function parameter.
    • shared-calculator-error-function-not-defined = Function ‘{ $dependency }’ is not defined.
    • shared-calculator-error-function-only-works-in-complex = The ‘{ $symbol }’ function is only available in complex mode.
    • shared-calculator-error-function-type-error-1 = Function ‘{ $fn }’ cannot be applied to { $arg }.
    • shared-calculator-error-function-type-error-2 = Function ‘{ $fn }’ cannot be applied to { $arg1 } and { $arg2 }.
    • shared-calculator-error-function-type-error-many = Function ‘{ $fn }’ cannot be applied to these arguments.
    • shared-calculator-error-function-unsupported = This calculator does not support the ‘{ $symbol }’ function.
    • shared-calculator-error-geometry-length-type-error = Function ‘{ $fn }’ cannot be applied to { $arg } in the geometry calculator. Use ‘{ $alternativeFn }’ to find the number of elements in a list.
    • shared-calculator-error-gpu-expression-too-complex = We encountered a GPU error while plotting this expression.
    • shared-calculator-error-gpu-function-unsupported = Cannot use the ‘{ $symbol }’ function here.
    • shared-calculator-error-gpu-integral-unsupported = Cannot use integrals here.
    • shared-calculator-error-gpu-long-product = Products may not have more than { $maxTermCount } terms here.
    • shared-calculator-error-gpu-long-sum = Sums may not have more than { $maxTermCount } terms here.
    • shared-calculator-error-gpu-max-list-size = Lists may not have more than { $maxListSize } elements here.
    • shared-calculator-error-gpu-recursion-unsupported = Cannot use recursive functions here.
    • shared-calculator-error-gpu-variable-list-length = List length cannot depend on variable ‘{ $symbol }’ here.
    • shared-calculator-error-gpu-variable-product = Product bound cannot depend on variable ‘{ $symbol }’ here.
    • shared-calculator-error-gpu-variable-sum = Sum bound cannot depend on variable ‘{ $symbol }’ here.
    • shared-calculator-error-heterogeneous-list = All elements of a list must have the same type.
    • shared-calculator-error-identifier-as-function = ‘{ $symbol }’ is a function. Try using parentheses.
    • shared-calculator-error-identifier-is-not-function = ‘{ $symbol }’ is not a function. Try defining it as ‘{ $symbol }(x) = x^2’ instead.
    • shared-calculator-error-illegal-bin-width = The second argument to ‘{ $symbol }’ must be a positive number.
    • shared-calculator-error-illegal-dot-call = Function ‘{ $symbol }’ cannot be called with dot notation.
    • shared-calculator-error-implicits-disabled = Plotting implicit equations and inequalities is disabled.
    • shared-calculator-error-incorrect-list-comprehension-input = Definitions on the right-hand side of ‘for’ must set a variable equal to a list. Try i=[1…10].
    • shared-calculator-error-incorrect-product-lower-bound = Lower bound of a product must set a variable equal to a number. Try n=1.
    • shared-calculator-error-incorrect-sum-lower-bound = Lower bound of a sum must set a variable equal to a number. Try n=1.
    • shared-calculator-error-index-type-error = Cannot index { $symbol1 } with { $symbol2 }.
    • shared-calculator-error-inequalities-disabled = Plotting inequalities is disabled.
    • shared-calculator-error-inequalities-unsupported = This calculator does not support inequalities.
    • shared-calculator-error-inequality-exceeds-cost-limit = Inequality expression is too complicated.
    • shared-calculator-error-inference-nonlinear-regression = Regression parameter inference is only supported for linear regressions.
    • shared-calculator-error-integral-argument-type-error = Cannot take the integral of { $symbol }.
    • shared-calculator-error-integral-lower-bound-type-error = Lower bound of an integral cannot be { $symbol }.
    • shared-calculator-error-integral-missing-body = What do you want to take the integral of?
    • shared-calculator-error-integral-missing-bound = Integrals must have upper and lower bounds.
    • shared-calculator-error-integral-missing-differential = Integrand must end with an integration variable, like dx.
    • shared-calculator-error-integral-upper-bound-type-error = Upper bound of an integral cannot be { $symbol }.
    • shared-calculator-error-internal-error = [internal] { $msg }
    • shared-calculator-error-invalid-dependent-first-table-column = This column header can’t be defined elsewhere in the calculator.
    • shared-calculator-error-invalid-double-equality-3d = Sorry, we only plot double equalities that contain z. Try adding 0*z to one side.
    • shared-calculator-error-invalid-double-inequality-3d = We only plot double inequalities of x, y, and z.
    • shared-calculator-error-invalid-double-inequality-variables = We only plot double inequalities of x and y.
    • shared-calculator-error-invalid-first-table-column = First column may not be { $most } or { $last }.
    • shared-calculator-error-invalid-half-empty-range = Range must have an upper and lower bound.
    • shared-calculator-error-invalid-implicit-variables = We only support implicit equations of x and y.
    • shared-calculator-error-invalid-implicit-variables-3d = We only support implicit equations of x, y, and z.
    • shared-calculator-error-invalid-inequality-variables = We only plot inequalities of x and y, or r and \u03B8.
    • shared-calculator-error-invalid-interval-comprehension-invalid-bound = Parameter bounds on the right-hand side of ‘for’ must be of the form ‘0<{ $identifier }<1’.
    • shared-calculator-error-invalid-interval-comprehension-return-type = You can’t use ‘for’ to parameterize { $type }.
    • shared-calculator-error-invalid-lhs = Sorry, you can’t graph { $symbol } as a function of anything yet.
    • shared-calculator-error-invalid-operator-name = Operator names may only contain letters.
    • shared-calculator-error-invalid-regression-parameter = ‘{ $symbol }’ may not be used as a regression parameter. Try using a different variable name.
    • shared-calculator-error-invalid-subscript = Subscripts may only contain letters and digits. ‘{ $symbol }’ is not allowed.
    • shared-calculator-error-invalid-table-entry = Table entries must be simple expressions. { $supplement }
    • shared-calculator-error-invalid-table-header = Table headers must be simple expressions. { $supplement }
    • shared-calculator-error-list-comprehension-input-type-error = A definition on the right-hand side of ‘for’ must be a list, but { $identifier } is { $actual }. Try { $identifier }={ $example }.
    • shared-calculator-error-list-type-error = Cannot store { $symbol1 } in a list.
    • shared-calculator-error-log-scale-box-plot = Cannot plot a box plot on a log scale.
    • shared-calculator-error-log-scale-dot-plot = Cannot plot a dot plot on a log scale.
    • shared-calculator-error-log-scale-histogram = Cannot plot a histogram on a log scale.
    • shared-calculator-error-log-scale-type-error = Cannot plot { $symbol } on a log scale.
    • shared-calculator-error-logbase-unsupported = This calculator does not support specifying the base of a logarithm. Try ‘log’ or ‘ln’.
    • shared-calculator-error-malformed-list = Lists are written like this: [1, 2, 3].
    • shared-calculator-error-malformed-point = Points are written like this: (1, 2).
    • shared-calculator-error-matrix-add-dimensions = Cannot add matrices with different dimensions.
    • shared-calculator-error-matrix-assignment = This calculator does not support this type of variable definition. Try using ‘New Matrix’.
    • shared-calculator-error-matrix-element-type-error = Cannot use { $arg } as an element of a matrix.
    • shared-calculator-error-matrix-fractional-power = A matrix can only be raised to integer powers.
    • shared-calculator-error-matrix-invalid-variable = Cannot use ‘{ $symbol }’ as a variable.
    • shared-calculator-error-matrix-multiply-dimensions = Cannot multiply matrices with incompatible dimensions.
    • shared-calculator-error-matrix-power-dimensions = Only square matrices can be raised to a power.
    • shared-calculator-error-matrix-subtract-dimensions = Cannot subtract matrices with different dimensions.
    • shared-calculator-error-max-list-size = Lists may not have more than { $maxListSize } elements.
    • shared-calculator-error-method-requires-list = ‘{ $symbol }’ requires a list. For example, try typing: { $recommendation }.
    • shared-calculator-error-mismatched-braces = Expected ‘{ $symbol1 }’ to match ‘{ $symbol2 }’.
    • shared-calculator-error-mismatched-double-inequality = Double inequalities must both go the same way, e.g. { $example }.
    • shared-calculator-error-mixed-comparator-chain = Cannot mix inequalities and equations in a chain of comparisons.
    • shared-calculator-error-multiply-defined = You’ve defined ‘{ $dependency }’ in more than one place. Try deleting some of the definitions of ‘{ $dependency }’.
    • shared-calculator-error-multiply-type-error = Cannot multiply { $symbol1 } by { $symbol2 }.
    • shared-calculator-error-multiply-type-error-2d = Ambiguous multiplication of { $symbol1 } by { $symbol2 }. Try typing: (1, 2) * (2, 1).
    • shared-calculator-error-multiply-type-error-3d = Ambiguous multiplication of { $symbol1 } by { $symbol2 }. Try typing: (1, 2, 3) cross (2, 1, 0).
    • shared-calculator-error-multiply-type-error-cross = Cannot take the cross product of { $symbol1 } and { $symbol2 }.
    • shared-calculator-error-negative-type-error = Cannot negate { $symbol }.
    • shared-calculator-error-nested-interval-comprehension = You can’t yet use ‘for’ to introduce a new parameter to an already parameterized point.
    • shared-calculator-error-non-arithmetic-range = Ranges must be arithmetic sequences.
    • shared-calculator-error-non-list-double-reducer = Both arguments of ‘{ $symbol }’ must be lists. For example, try typing: { $recommendation }.
    • shared-calculator-error-non-list-parameterized-reducer = The first argument of ‘{ $symbol }’ must be a list. For example, try typing: { $recommendation }.
    • shared-calculator-error-non-singular-inverse = Singular matrices do not have an inverse.
    • shared-calculator-error-non-square-determinant = Only square matrices have a determinant.
    • shared-calculator-error-non-square-inverse = Only square matrices have an inverse.
    • shared-calculator-error-non-square-trace = Only square matrices have a trace.
    • shared-calculator-error-operator-type-error = Cannot apply { $symbol } to { $symbol1 } and { $symbol2 }.
    • shared-calculator-error-optimization-error = We couldn’t find any region where this model is defined.
    • shared-calculator-error-parameter-already-defined = You can’t use ‘{ $dependency }’ as a parameter of this function because ‘{ $dependency }’ is already defined.
    • shared-calculator-error-parse-error = Sorry, I don’t understand this.
    • shared-calculator-error-pdf-wrong-arity = ‘pdf’ should be called on a distribution with a number. { $recommendation }
    • shared-calculator-error-pdf-wrong-arity-recommendation = For example, try typing: D.pdf(x) where D=normaldist().
    • shared-calculator-error-percent-missing-of = ‘%’ must be used with ‘of’. Try ‘25% of 12’.
    • shared-calculator-error-piecewise-branch-type-error = Cannot use { $symbol1 } and { $symbol2 } as the branches in a piecewise. Every branch must have the same type.
    • shared-calculator-error-piecewise-condition-type-error = The condition in a piecewise expression must be { $symbol1 } but was { $symbol2 }.
    • shared-calculator-error-piecewise-missing-condition = A piecewise expression must have at least one condition.
    • shared-calculator-error-piecewise-part-missing-condition = Every part of a piecewise expression must have a condition except the last.
    • shared-calculator-error-point-type-error = Cannot use { $symbol1 } as a coordinate of { $symbol2 }.
    • shared-calculator-error-points-unsupported = This calculator does not support points.
    • shared-calculator-error-polygon-unsupported-in-3d = This calculator does not support the ‘polygon’ function. Try ‘triangle’ instead.
    • shared-calculator-error-prime-variable-type-error = Cannot take derivative of ‘{ $symbol1 }’ with respect to { $symbol2 }.
    • shared-calculator-error-prime-without-paren = Primed function calls must use parentheses.
    • shared-calculator-error-primed-function-arity = Prime notation can only be used for functions of a single argument.
    • shared-calculator-error-product-argument-type-error = Cannot take the product of { $symbol }.
    • shared-calculator-error-product-infinite-bound-type-error = Product bounds must be finite numbers.
    • shared-calculator-error-product-lower-bound-type-error = Lower bound of a product cannot be { $symbol }.
    • shared-calculator-error-product-missing-body = What do you want to take the product of?
    • shared-calculator-error-product-missing-bound = Products must have upper and lower bounds.
    • shared-calculator-error-product-upper-bound-type-error = Upper bound of a product cannot be { $symbol }.
    • shared-calculator-error-random-arity = ‘random’ should be called with no arguments, or an optional number of samples. For example, try random() or random(10).
    • shared-calculator-error-random-from-broadcast-distribution = Cannot sample from a list of distributions
    • shared-calculator-error-recursion-argument-type = Expected argument { $index } to be { $expectedType } but found { $foundType }.
    • shared-calculator-error-recursion-base-case-argument-non-number = Base case arguments must be simple numbers. Try using piecewise syntax.
    • shared-calculator-error-recursion-base-case-free-variable = This recursion’s base case can’t depend on variable ‘{ $freeVariable }’.
    • shared-calculator-error-recursion-base-case-same-type = Base cases must all have the same return type.
    • shared-calculator-error-recursion-base-case-too-complicated = For a recursion with multiple parameters, try using piecewise syntax.
    • shared-calculator-error-recursion-depth-limit-exceeded = Recursive depth limit exceeded without reaching a base case.
    • shared-calculator-error-recursion-does-not-terminate = This recursion doesn’t reach a base case.
    • shared-calculator-error-recursion-missing-base-case =
      { $count →
      [one] The definition of function ‘{ $lastSymbol }’ depends on itself. If ‘{ $lastSymbol }’ is meant to be a recursive function, try adding a valid base case.
      *[other] The definitions of functions ‘{ $symbols }’ and ‘{ $lastSymbol }’ depend on each other. If they are meant to be mutually recursive functions, try adding a valid base case.
      }
    • shared-calculator-error-recursion-wrong-arity =
      { $count →
      [one] Function ‘{ $fnSymbol }’ requires 1 argument.
      *[other] Function ‘{ $fnSymbol }’ requires { $count } arguments.
      }
    • shared-calculator-error-regression-type-error = Cannot regress { $symbol1 } against { $symbol2 }.
    • shared-calculator-error-regressions-unsupported = This calculator does not support regressions.
    • shared-calculator-error-repeat-length-mismatch = When the arguments of ‘{ $symbol }’ are lists, they must have the same length.
    • shared-calculator-error-required-arguments-area = Function ‘{ $symbol }’ requires a polygon.
    • shared-calculator-error-required-arguments-circle = Function ‘circle’ requires a center point and another point, segment, or radius value.
    • shared-calculator-error-required-arguments-coterminal = Function ‘{ $symbol }’ requires an angle.
    • shared-calculator-error-required-arguments-dilate = Function ‘{ $symbol }’ requires an object, then a point and a number.
    • shared-calculator-error-required-arguments-glider = Function ‘glider’ requires an object, then a number.
    • shared-calculator-error-required-arguments-intersection = Function ‘intersection’ requires 2 objects (lines, circles, or arcs).
    • shared-calculator-error-required-arguments-length = Function ‘length’ requires a segment.
    • shared-calculator-error-required-arguments-midpoint = Function ‘midpoint’ requires a segment or 2 points.
    • shared-calculator-error-required-arguments-perpendicular = Function ‘{ $symbol }’ requires a line and a point.
    • shared-calculator-error-required-arguments-points = Function ‘{ $symbol }’ requires { $count } points.
    • shared-calculator-error-required-arguments-polygon = Function ‘polygon’ requires several points.
    • shared-calculator-error-required-arguments-radius = Function ‘{ $symbol }’ requires a circle or arc.
    • shared-calculator-error-required-arguments-reflect = Function ‘reflect’ requires an object, then a line, segment, ray, or vector.
    • shared-calculator-error-required-arguments-sphere = Function ‘sphere’ requires a center point and a radius value.
    • shared-calculator-error-required-arguments-start = Function ‘{ $symbol }’ requires a vector.
    • shared-calculator-error-required-arguments-supplement = Function ‘supplement’ requires a directed angle.
    • shared-calculator-error-required-arguments-translate = Function ‘translate’ requires an object, then 2 points or a vector.
    • shared-calculator-error-required-arguments-triangle = Function ‘triangle’ requires three 3d points.
    • shared-calculator-error-required-arguments-vector = Function ‘vector’ requires a start point and end point.
    • shared-calculator-error-rescaled-observed = Expected and observed totals don’t match.
    • shared-calculator-error-restriction-exceeds-cost-limit = Restriction expression is too complicated.
    • shared-calculator-error-self-referential-base-case = A base case for recursive function ‘{ $symbol }’ cannot depend on ‘{ $symbol }’.
    • shared-calculator-error-self-referential-functions =
      { $count →
      [one] The definition of function ‘{ $lastSymbol }’ depends on itself.
      *[other] The definitions of functions ‘{ $symbols }’ and ‘{ $lastSymbol }’ depend on each other.
      }
    • shared-calculator-error-self-referential-suggest-alternative = ‘{ $symbol }’ cannot be defined recursively. Try renaming this function.
    • shared-calculator-error-shadowed-index = You can’t use ‘{ $symbol }’ as an index because it’s already defined.
    • shared-calculator-error-shadowed-integration-variable = You can’t use ‘{ $symbol }’ as an integration variable because it’s already defined.
    • shared-calculator-error-shadowed-list-comprehension-input = You can’t define ‘{ $symbol }’ more than once on the right-hand side of ‘for’.
    • shared-calculator-error-single-variable-implicit-equations-disabled = Plotting single-variable implicit equations is disabled.
    • shared-calculator-error-slider-limit-references-export = Slider limits cannot depend on the slider variable ‘{ $symbol }’.
    • shared-calculator-error-slider-max-invalid = Invalid slider max. Try using any number.
    • shared-calculator-error-slider-max-less-than-min = Invalid slider limits. Min should be less than max.
    • shared-calculator-error-slider-min-invalid = Invalid slider min. Try using any number.
    • shared-calculator-error-slider-step-invalid = Invalid slider step. Try using any number.
    • shared-calculator-error-slow-evaluation = This is taking a long time to evaluate. Try editing or deleting this expression.
    • shared-calculator-error-substitution-ambiguous-comma = Ambiguous use of ‘,’ and ‘{ $operation }’. Add parentheses around the ‘{ $operation }’ expression.
    • shared-calculator-error-substitution-body-action = The left hand side of a ‘with’ substitution cannot be an action.
    • shared-calculator-error-substitution-body-regression-parameter-dependency = Can’t use ‘{ $operator }’ to substitute for the existing variable ‘{ $globalVariable }’ because the expression on the left-hand side depends on ‘{ $regressionParameter }’, which is a regression parameter.
    • shared-calculator-error-substitution-duplicate-assignment = A ‘with’ expression cannot make multiple substitutions for ‘{ $symbol }’.
    • shared-calculator-error-substitution-function-lhs = Substituting for ‘{ $symbol }’ is not allowed because it is a function.
    • shared-calculator-error-substitution-illegal-lhs = Substituting for ‘{ $symbol }’ is not allowed.
    • shared-calculator-error-substitution-invalid-assignments = ‘with’ must be followed by one or more variable definitions.
    • shared-calculator-error-substitution-local-lhs = Substituting for variable ‘{ $symbol }’ is not allowed because it is locally defined.
    • shared-calculator-error-substitution-nested = Using one ‘with’ expression inside another ‘with’ expression is not allowed.
    • shared-calculator-error-substitution-recursive-call-lhs = Can’t use ‘{ $operator }’ to substitute for the existing variable ‘{ $globalVariable }’ because the expression on the left-hand side depends on a recursive function call to ‘{ $fnSymbol }’.
    • shared-calculator-error-substitution-type-error = Cannot substitute { $actual } for { $expected }.
    • shared-calculator-error-substitution-unsupported-interval = Intervals are not allowed on the right-hand side of ‘with’. You might want to try using ‘for’ instead.
    • shared-calculator-error-subtract-type-error = Cannot subtract { $symbol2 } from { $symbol1 }.
    • shared-calculator-error-sum-argument-type-error = Cannot take the sum of { $symbol }.
    • shared-calculator-error-sum-infinite-bound-type-error = Summation bounds must be finite numbers.
    • shared-calculator-error-sum-lower-bound-type-error = Lower bound of a sum cannot be { $symbol }.
    • shared-calculator-error-sum-missing-body = What do you want to take the sum of?
    • shared-calculator-error-sum-missing-bound = Sums must have upper and lower bounds.
    • shared-calculator-error-sum-upper-bound-type-error = Upper bound of a sum cannot be { $symbol }.
    • shared-calculator-error-superscript-with-prime = Superscripts and primes cannot be combined.
    • shared-calculator-error-table-entry-type-error = Table entry cannot be { $symbol }.
    • shared-calculator-error-table-equation-supplement = Equations are not allowed.
    • shared-calculator-error-table-function-definition-supplement = Function definitions are not allowed.
    • shared-calculator-error-table-generic-supplement = This type of expression is not allowed.
    • shared-calculator-error-table-header-type-error = Table header cannot be { $symbol }.
    • shared-calculator-error-table-inequality-supplement = Inequalities are not allowed.
    • shared-calculator-error-table-list-supplement = Lists are not allowed.
    • shared-calculator-error-table-regression-invalid-data = There’s an error in the provided data.
    • shared-calculator-error-table-regression-invalid-export-identifier = The headers need to be simple identifiers to export as a custom regression. Try assigning { $latex } to a variable and then referencing it in the table header.
    • shared-calculator-error-table-regression-log-with-negative = Logarithmic regressions only work if the first column is all positive numbers.
    • shared-calculator-error-table-regression-supplement = Regressions are not allowed.
    • shared-calculator-error-table-regression-type-error = The data contains { $symbol }.
    • shared-calculator-error-tdist-wrong-arity = ‘tdist’ requires 1 argument. For example, try typing: tdist(1).
    • shared-calculator-error-ticker-min-step-nonnegative = Min step must evaluate to a non-negative number.
    • shared-calculator-error-token-with-subscript = Tokens may not have subscripts.
    • shared-calculator-error-too-many-arguments = ‘{ $symbol }’ accepts at most { $max } arguments.
    • shared-calculator-error-too-many-variables-many-symbols = Too many variables. Try defining ‘{ $variables }’ or ‘{ $lastVariable }’.
    • shared-calculator-error-too-many-variables-no-symbols = Too many variables, I don’t know what to do with this.
    • shared-calculator-error-too-many-variables-one-symbol = Too many variables. Try defining ‘{ $variable }’.
    • shared-calculator-error-transformation-definition-expected-types-1 = Try using { $arg }.
    • shared-calculator-error-transformation-definition-expected-types-2 = Try using { $arg1 } and { $arg2 }.
    • shared-calculator-error-transformation-definition-expected-types-use-fewer-1 = Try using just { $arg }.
    • shared-calculator-error-transformation-definition-expected-types-use-fewer-2 = Try using just { $arg1 } and { $arg2 }.
    • shared-calculator-error-transformation-definition-type-error-1 = A { $fn } cannot be defined using { $arg }. { $expectedTypeMessage }
    • shared-calculator-error-transformation-definition-type-error-2 = A { $fn } cannot be defined using { $arg1 } and { $arg2 }. { $expectedTypeMessage }
    • shared-calculator-error-transformation-definition-type-error-many = A ‘{ $fn }’ cannot be defined with these arguments.
    • shared-calculator-error-transformation-definition-type-error-use-more-1 = A { $fn } cannot be defined using just { $arg }. { $expectedTypeMessage }
    • shared-calculator-error-transformation-definition-type-error-use-more-2 = A { $fn } cannot be defined using just { $arg1 } and { $arg2 }. { $expectedTypeMessage }
    • shared-calculator-error-transformation-type-error-1 = Transformation ‘{ $fn }’ cannot be applied to { $arg }.
    • shared-calculator-error-transformation-type-error-2 = Transformation ‘{ $fn }’ cannot be applied to { $arg1 } and { $arg2 }.
    • shared-calculator-error-transformation-type-error-many = Transformation ‘{ $fn }’ cannot be applied to these arguments.
    • shared-calculator-error-ttest-list-too-short = Sample for ‘{ $symbol }’ must have at least 2 observations.
    • shared-calculator-error-two-numbers-error = Cannot make a polygon from two numbers.
    • shared-calculator-error-unary-operator-missing-left = You need something before the ‘{ $symbol }’ symbol.
    • shared-calculator-error-unary-operator-missing-right = You need something after the ‘{ $symbol }’ symbol.
    • shared-calculator-error-unexpected-equality = Cannot use an equality here.
    • shared-calculator-error-unexpected-inequality = Cannot use an inequality here.
    • shared-calculator-error-unexpected-prime = Sorry, I don’t understand this use of prime notation.
    • shared-calculator-error-unexpected-subscript = Only functions and variables may have subscripts.
    • shared-calculator-error-unexpected-symbol = Sorry, I don’t understand the way that ‘{ $symbol }’ is used here.
    • shared-calculator-error-unplottable-chained-equality = This calculator cannot plot chained equations.
    • shared-calculator-error-unplottable-long-inequality-chain = This calculator cannot plot chains of more than 2 inequalities.
    • shared-calculator-error-unplottable-polar-function = We can’t plot \u03B8 as a function of r. Try plotting r(\u03B8) instead.
    • shared-calculator-error-unrecognized-symbol = Sorry, I don’t understand the ‘{ $symbol }’ symbol.
    • shared-calculator-error-update-rule-function-lhs = ‘{ $symbol }’ cannot be updated because it is a function.
    • shared-calculator-error-update-rule-illegal-lhs = Variable ‘{ $symbol }’ cannot be updated.
    • shared-calculator-error-update-rule-local-lhs = Variable ‘{ $symbol }’ cannot be updated because it is locally defined.
    • shared-calculator-error-update-rule-non-identifier-lhs = The left hand side of ‘{ $arrow }’ should be a variable name like ‘{ $example }’.
    • shared-calculator-error-update-rule-type-error = Cannot update a variable to { $symbol }.
    • shared-calculator-error-update-rule-undefined-lhs = Variable ‘{ $symbol }’ must be defined to be updated.
    • shared-calculator-error-use-r-for-cylindrical-coordinates = Can’t combine ‘\u03C1’ and ‘z’. Try ‘r’ for cylindrical coordinates.
    • shared-calculator-error-use-rho-for-spherical-coordinates = Can’t combine ‘r’ and ‘\u03C6’. Try ‘\u03C1’ (rho) for spherical coordinates.
    • shared-calculator-error-variable-as-function = Variable ‘{ $dependency }’ can’t be used as a function.
    • shared-calculator-error-variable-invalid-function-name = This calculator can not use ‘{ $symbol }’ as a function name.
    • shared-calculator-error-variable-length-distribution-list = The length of a list of distributions can’t depend on free variable ‘{ $symbol }’.
    • shared-calculator-error-variable-length-integral-depends-on-integration-var = Can’t integrate a list whose length depends on integration variable ‘{ $symbol }’.
    • shared-calculator-error-variable-length-product-body-depends-on-index = Can’t take the product of a list whose length depends on product index ‘{ $symbol }’.
    • shared-calculator-error-variable-length-sum-body-depends-on-index = Can’t sum a list whose length depends on summation index ‘{ $symbol }’.
    • shared-calculator-error-variable-length-top-level-list = Can’t plot a list whose length depends on free variable ‘{ $symbol }’.
    • shared-calculator-error-variable-seed = Random seed cannot depend on free variable ‘{ $symbol }’.
    • shared-calculator-error-variable-unsupported = This calculator does not support the ‘{ $symbol }’ variable.
    • shared-calculator-error-variables-unsupported = This calculator does not support variables like ‘{ $variable }’.
    • shared-calculator-error-viewport-bound-type-error = Cannot use { $type } as a viewport bound.
    • shared-calculator-error-write-integral = Type ‘{ $command }’ for { $symbol }.
    • shared-calculator-error-wrong-arity-many-arg = Function ‘{ $dependency }’ requires { $assignment_arity } arguments. { $supplement }
    • shared-calculator-error-wrong-arity-single-arg-too-few = Function ‘{ $dependency }’ requires an argument. { $supplement }
    • shared-calculator-error-wrong-arity-single-arg-too-many = Function ‘{ $dependency }’ requires only 1 argument. { $supplement }
    • shared-calculator-error-wrong-arity-supplement = For example, try typing: { $recommendation }.
    • shared-calculator-error-wrong-two-arg-arity = Function ‘{ $symbol }’ requires 2 arguments. For example, try typing: { $recommendation }.
    • shared-calculator-error-zero-arg-reducer = Function ‘{ $symbol }’ requires at least one argument. For example, try typing: { $symbol }(1, 2).
3 Likes

So they should be 361

btw: I extracted it from here:
https://www.desmos.com/assets/build/shared_calculator_desktop-408058639477e8638fca9929843966f61971754a.js

And then there are some errors for the specific calculators:

Basic calculator:

  1. basic-calculator-error-fractions-unavailable = Fractions are not available in the current calculator.
  2. basic-calculator-error-parentheses-unavailable = Parentheses are not available in this calculator.

Graphing calculator:

  1. graphing-calculator-error-equation-chi-square-expected = Error computing expected values.
  2. graphing-calculator-error-equation-contains-unresolved-details = This plot contains fine detail that has not been fully resolved.
  3. graphing-calculator-error-expression-replacement = Replacement must be a valid function or variable name.
  4. graphing-calculator-error-expression-search = Can only rename a valid function or variable name.
  5. graphing-calculator-error-failed-to-load-image = Failed to load image.
  6. graphing-calculator-error-image-invalid-angle = Invalid angle. Try using any number.
  7. graphing-calculator-error-image-invalid-center = Invalid center. Try, for example, (0,0).
  8. graphing-calculator-error-image-invalid-file = The file “{ $file }” is not an image
  9. graphing-calculator-error-image-invalid-height = Invalid height. Try using any number.
  10. graphing-calculator-error-image-invalid-opacity = Invalid opacity. Try using any number.
  11. graphing-calculator-error-image-invalid-width = Invalid width. Try using any number.
  12. graphing-calculator-error-inference-invalid-cdf-p-value = Target area needs to be between 0 and 1.
  13. graphing-calculator-error-inference-invalid-confidence = Confidence level must be a number between 0 and 1.
  14. graphing-calculator-error-inference-invalid-hypothesis = There is an error in the hypothesis value.
  15. graphing-calculator-error-invalid-exportable-evaluation = Error computing this value.
  16. graphing-calculator-error-invalid-value = Invalid value
  17. graphing-calculator-error-legacy-random-seed-behavior = This graph uses legacy randomization behavior.
  18. graphing-calculator-error-log-axes-image = Cannot plot images on a log scale.
  19. graphing-calculator-error-nan-blame-complex-coercion = Plotted values are non-real at all input values. Try using absolute value to convert complex numbers to real.
  20. graphing-calculator-error-reached-maximum-recursion-depth = Reached maximum recursion depth while plotting this expression.
  21. graphing-calculator-error-table-regression-unexportable-reserved-variable-single = Column { $variable } can’t be referenced outside of the table. To create a standalone regression, first try renaming that column.
  22. graphing-calculator-error-table-regression-unexportable-reserved-variables-many = These columns can’t be referenced outside of the table. To export the regression model, first try renaming the columns.
  23. graphing-calculator-error-tone-frequency-out-of-range = Tones can only play for frequencies between { $min }Hz and { $max }Hz.

wow, I knew you would say something

I was thinking about using the list of errors for a game:

  • randomly select an error
  • then try to write an expression in Desmos to get that error

It is interesting and kind of fun.

For example, say you randomly select error:

  • 339: The left hand side of ‘{ $arrow }’ should be a variable name like ‘{ $example }’.

then you look for an expression that gives that error,
for example:

  • 2 → 5

That’s a cool idea

/////

We could try and create an example for each error …
Here’s a shared file where, for each error, we can write a Desmos expression that
gets that error:

I created an example for error 16 … use the same style and fonts if you create any examples

Have you tried out my brainFK interpreter yet?

sorry, no, I promise I will … I have to put my mind on it …

1 Like

that is a lot of errors

So, I found examples for errors 1 and 2 …
can you find an expression that gives error 3?
3: “Cannot apply both an inequality restriction and an equality restriction to this expression”.

or error 4:
4: “Cannot apply more than one equality restriction”.

https://docs.google.com/document/d/1cqhsTdlzpu6wJfimxbQSbgNVrbnObC45w5Qx4pEPsKI/edit?usp=sharing

I thought this would work: Desmos | Graphing Calculator

that works for error 186 … I added it

https://docs.google.com/document/d/1cqhsTdlzpu6wJfimxbQSbgNVrbnObC45w5Qx4pEPsKI/edit?usp=sharing

every single error on one graph??