❗ Exception Handling

Catch and log Oracle errors properly instead of swallowing them.

Snippet
☆WHEN OTHERS — Catch-all handler; SQLERRM shows the error text
☆VALUE_ERROR — Arithmetic, conversion or constraint error
☆NO_DATA_FOUND — SELECT INTO returned no rows

← Back to all categories