Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TheEndless
Channel Surfer

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 2
YungBlood
Streaming Star

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
RokuKevin
Visitor

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.