Main > Knowledge Base > Developer resources > Development recommendations > 1C:Enterprise script > Handling script errors > Developer resources > Development recommendations > 1C:Enterprise script > Handling script errors > Developer resources > Development recommendations > 1C:Enterprise script > Handling script errors

Handling script errors

If an application is running in 1C:Enterprise mode and a script error occurs, an error message is displayed. Then the system behavior varies depending on the error type.

For compilation errors, the application is stopped because the system cannot process an object whose module has not been compiled.

For runtime errors, the current script call (up to the top level) is stopped but the application execution is continued.

But if a runtime error occurs during module body execution (i.e. during module initialization), the application is stopped because the system cannot process an object whose module has not been initialized.

Next page: Infinite recursion




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.