# can we able to do exception handling in kdb+/q

**URL:** <https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586>\
**Category:** Community Support\
**Tags:** imported, kdb-and-q\
**Created:** [October 12, 2022, 12:00am UTC](https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586 "2022-10-12T00:00:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveen](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/naveen/32/128_2.png) [@naveen](https://forum.kx.com/u/naveen)\
**Post date:** [October 12, 2022, 12:00am UTC](https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586/1 "2022-10-12T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/can-we-able-to-do-exception-handling-in-kdb-q](https://learninghub.kx.com/forums/topic/can-we-able-to-do-exception-handling-in-kdb-q)

if possible give me some example. i am looking forward for your reply. Thanks

---

<div class="post-metadata">

**Author:** ![naveen](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/naveen/32/128_2.png) [@naveen](https://forum.kx.com/u/naveen)\
**Post date:** [October 12, 2022, 12:00am UTC](https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586/2 "2022-10-12T00:00:00Z")

</div>

can you please share some resource for learning k language. Thanks in advance. if not ok. but i really looking forward for your reply. i don’t want to be waited and get disappointed.

---

<div class="post-metadata">

**Author:** ![rocuinneagain](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rocuinneagain/32/287_2.png) [@rocuinneagain](https://forum.kx.com/u/rocuinneagain)\
**Post date:** [October 12, 2022, 12:00am UTC](https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586/3 "2022-10-12T00:00:00Z")

</div>

The `q` language is documented with lots of learning materials on: [https://code.kx.com/q/](https://code.kx.com/q/")

There are also courses on [https://kx.com/academy/](https://kx.com/academy/")

&nbsp;

`k` is the underlying language which you do not need to interact with. See this note: [https://community.kx.com/t5/New-kdb-q-users-question-forum/rotate-function-differences-between-k-and-q/m-p/13186/highlight/true#M544](https://community.kx.com/t5/New-kdb-q-users-question-forum/rotate-function-differences-between-k-and-q/m-p/13186/highlight/true#M544")

---

<div class="post-metadata">

**Author:** ![rocuinneagain](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rocuinneagain/32/287_2.png) [@rocuinneagain](https://forum.kx.com/u/rocuinneagain)\
**Post date:** [October 12, 2022, 12:00am UTC](https://forum.kx.com/t/can-we-able-to-do-exception-handling-in-kdb-q/13586/4 "2022-10-12T00:00:00Z")

</div>

You can trap using `.` or `@`

[https://code.kx.com/q/ref/apply/#trap](https://code.kx.com/q/ref/apply/#trap")

&nbsp;

&nbsp;
