TheAlgorithms/JavaScript
Documented errors, page 2 of 2. Back to TheAlgorithms/JavaScript
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Argument not an Integer | validation | error | bit-manipulation, type-validation, integer |
| Input must be Numbers | exception | error | math, type-check, input-validation, modular-arithmetic |
| Arguments are not all numbers. | exception | error | type-validation, date, calendar, zellers-congruence |
| Both keyword and message must be specified | validation | error | cipher, keyword-shifted, input-validation, required-argument |
| Dimension must be positive | exception | error | range-validation, project-euler, positive-value, nan-pitfall |
| Index cannot be a Decimal | exception | error | math, precondition, type-validation, sequence |
| Invalid input | exception | error | range-validation, project-euler, primes, circular-primes |
| Grid must be a non-empty array | validation | error | backtracking, maze, grid, input-validation |
| Out of Range index | exception | error | data-structures, linked-list, range-error, index-bounds |
| LFUCache ERROR: The Capacity is 0 | validation | error | cache, lfu, capacity, input-validation |
| Queue is Empty | exception | error | data-structures, queue, empty-state, fifo |
| imageHeight should be greater than zero | exception | error | math, rendering, precondition, fractal |
| Argument is not a string type | validation | error | type-validation, string, hex, typeof, conversions |
| Provided input is not an array | validation | error | bit-manipulation, power-set, type-validation, array |
| Argument must be an Array | exception | error | math, statistics, type-check, input-validation |
| Given input is not a string | exception | error | string, validation, type-guard, pattern-matching, ambiguous-message |
| the param should be string | exception | error | string, validation, type-guard, word-count, default-arg |
| Grid must only contain 0s and 1s | validation | error | backtracking, maze, grid, type-coercion |
| Input should be a string | exception | error | string, validation, type-guard, letter-count |
| Argument str should be String | validation | error | cipher, affine, type-validation, string |
| Index cannot be Negative | exception | error | math, precondition, index-validation, sequence |
| argument is not a Number | validation | error | type-validation, rgb, color, typeof, conversions |
| imageWidth should be greater than zero | exception | error | math, rendering, precondition, fractal |
| Invalid Input Type | exception | error | string, validation, type-guard, sliding-window, substring |
| value should be between 0 and 1 | validation | error | validation, hsv, rgb, color, range-check, conversions |
| The sum must be non-negative. | exception | error | dynamic-programming, subset-sum, validation, non-negative |
| saturation should be between 0 and 1 | validation | error | validation, hsv, rgb, color, range-check, conversions |
| red should be between 0 and 255 | validation | error | validation, rgb, hsv, color, range-check, conversions |
| green should be between 0 and 255 | validation | error | validation, rgb, hsv, color, range-check, conversions |
| blue should be between 0 and 255 | validation | error | validation, rgb, hsv, color, range-check, conversions |