@mlightcad/common
Version:
The common package provides shared utilities and base classes that are used across the RealDWG-Web ecosystem. This package contains fundamental components for color management, event handling, logging, performance monitoring, and file loading operations.
37 lines • 1.19 kB
JavaScript
export var AcCmErrors = {
/**
* Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter
*/
get ILLEGAL_PARAMETERS() {
return new ReferenceError('Illegal Parameters');
},
/**
* Throw error ZERO_DIVISION to catch situation of zero division
*/
get ZERO_DIVISION() {
return new Error('Zero division');
},
/**
* Error to throw from BooleanOperations module in case when fixBoundaryConflicts not capable to fix it
*/
get UNRESOLVED_BOUNDARY_CONFLICT() {
return new Error('Unresolved boundary conflict in boolean operation');
},
/**
* Error to throw from LinkedList:testInfiniteLoop static method
* in case when circular loop detected in linked list
*/
get INFINITE_LOOP() {
return new Error('Infinite loop');
},
get CANNOT_INVOKE_ABSTRACT_METHOD() {
return new Error('Abstract method cannot be invoked');
},
get OPERATION_IS_NOT_SUPPORTED() {
return new Error('Operation is not supported');
},
get NOT_IMPLEMENTED() {
return new Error('Not implemented yet');
}
};
//# sourceMappingURL=AcCmErrors.js.map