# \#error-handler

**URL:** https://forums.digi.com/tag/error-handler/1913.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [How do get a stack dump in a custom error handler?](https://forums.digi.com/t/how-do-get-a-stack-dump-in-a-custom-error-handler/14287)

<div class="topic-metadata">

**Author:** [@RonBeck62a](https://forums.digi.com/u/RonBeck62a)\
**Replies:** 3\
**Last updated:** [February 4, 2015, 3:04am UTC](https://forums.digi.com/t/how-do-get-a-stack-dump-in-a-custom-error-handler/14287 "2015-02-04T03:04:40Z")

</div>

I’m getting an ERR\_UNEXPECTEDRST38 once in a while. I suspect it is from a stack corruption that happens while processing timer interrupts. I want to try and trace the issue back to the code that caused the problem. I…
