Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 134
  • Last Modified:

Raising an error

If you explicitly raise an error with error.raise will the function terminate immediatly at that line?
0
gmoriak
Asked:
gmoriak
1 Solution
 
shchukaCommented:
If there's no error handler in the function, then yes, the function will terminate immediately with the run-time error thrown at you.

If there's an error handler, then it will be invoked as usually with any other error.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now