The error messaging of the resampler and the smoothing algorithm is not informative. Create more detailed error messages.
The error messaging of the smoothing functionality may be easily enhanced. There's only one special case for smooth, which is not related to standard errors like SyntaxError::INVALID_INDEX. This means, that the error message for smooth has to be enhanced and that every return false has to be replaced by throw SyntaxError(...).
For the resampler there are more possibilities of error sources. These have to be added to the SyntaxError object itself. Additionally, the new error strings have to be provided. Because the resampler used dynamic memory allocation, additional try ... catch blocks have to be added.
This change was tested thoroughly in production tests. All deviations were resolved.
Anonymous
Diff:
Diff:
Diff:
Diff:
Related
Commit: [r364]
Diff: