Variable ERROR_MESSAGESConst
ERROR_MESSAGES: Readonly<
{
DIVIDE_BY_ZERO: "Detected divide by zero";
INV_NUM: "Invalid number object";
INV_V2: "Invalid vec2 object";
INV_V2_ARR: "Invalid vec2 array object";
INV_V2_DEST: "Expected destination of function to be number | vec2-like array | vec2-like object";
INV_V2_TARG: "Invalid vec2 object";
INV_V2_VAL: "Expected value of function to be number | vec2-like array | vec2-like object";
NAN: "NaN detected";
NON_FINITE: "Non-finite number detected";
},
> = ...
The frozen set of error messages thrown by the library, exported for matching against caught errors.