---
url: /statelake/scripting-reference/functions-and-procedures/exception-functions.md
---

# Exception Functions

**Exceptions** occur when a running computer script or program encounters unexpected or unwanted events that could interfere with or disrupt normal operation.

These exceptions can be caused through a number of reasons - faulty user input, coding errors, machine failure, a dodgy internet or server connection, a memory conflict . . . . etc.

Because it is important to catch exceptions when they occur, the following Exception functions are available. These are often used in conjunction with **Logging** functions [Logging Functions](/statelake/scripting-reference/functions-and-procedures/logging-functions/).
