Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TheEndless
Level 7

Error Handling?

I wouldn't be at all surprised if it turns out I'm just blind, but I can't seem to find anything in the documents about error handling (aside from when using the Run() command). Does BrightScript have any sort of "On Error" or "try...catch" functionality?
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)
0 Kudos
2 Replies
Highlighted
YungBlood
Level 7

Re: Error Handling?

All I've seen on that is Run() or Eval()...
Or reading an error code from the return of a function...
-Kevin
YungBlood

Bringing more fun to Roku!
0 Kudos
Highlighted
RokuKevin
Level 9

Re: Error Handling?

There is no exception handling in BrightScript at this time.

The previous post about using Run() or Eval() as a replacement is here:
http://forums.roku.com/viewtopic.php?f=34&t=27338&start=0&hilit=eval



--Kevin
0 Kudos