---
title: "dbms_exception"
description: "The dbms_exception package provides functions on exception handling."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/packages/dbms-exception
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/packages/dbms-exception
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

The `dbms_exception` package provides functions on exception handling.

## `add_data`: Add data to the current exception.
Extend the parameters of the current exception by a key/value pair.

Parameters: 
- `key` (string, optional): Key to store value with.
- `value` (string, required): Value to add to exception.