There's nothing (realistic) built into BrightScript. Roku does get crash dumps for crashing channels, so if you're getting a lot of reports, it may be possible to get them to generate a report for you.
I say "realistic" because technically you could use the
Run and/or
Eval functions to run code that will allow you to capture errors without crashing, but I wouldn't recommend that.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)