Skip to main content

Module errors

Module errors 

Source
Expand description

Error constants matching C++ implementation

Constantsยง

NON_PAIR_ERROR
There must be 2 values for each coordinate
NON_PAIR_ERROR_I
Error codes (2^n) - non-fatal
PRECISION_ERROR
Precision exceeds the permitted range
PRECISION_ERROR_I
Error codes (2^n) - non-fatal
RANGE_ERROR
Values exceed permitted range
RANGE_ERROR_I
Error codes (2^n)
SCALE_ERROR
Invalid scale (either 0 or too large)
SCALE_ERROR_I
Error codes (2^n) - non-fatal
UNDEFINED_ERROR
There is an undefined error in Clipper2
UNDEFINED_ERROR_I
Error codes (2^n) - fatal