%PDF- %PDF-
| Direktori : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/three/src/nodes/core/ |
| Current File : /home2/rezakur1/ai.rezakurnia.com/zh-router-frontend/node_modules/three/src/nodes/core/NodeError.js |
/**
* Custom error class for node-related errors, including stack trace information.
*/
class NodeError extends Error {
constructor( message, stackTrace = null ) {
super( message );
/**
* The name of the error.
*
* @type {string}
*/
this.name = 'NodeError';
/**
* The stack trace associated with the error.
*
* @type {?StackTrace}
*/
this.stackTrace = stackTrace;
}
}
export default NodeError;