Your Digital Media Has Never Looked So Good

 
User avatar
TheEndless
** Valued Community Member **
Topic Author
Posts: 9231
Joined: Mon Oct 04, 2004 10:15 am
Location: US
Contact:

Error Handling?

Thu Aug 12, 2010 8:09 pm

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)
 
YungBlood
Posts: 133
Joined: Wed Jul 07, 2010 10:05 pm
Location: California
Contact:

Re: Error Handling?

Thu Aug 12, 2010 9:46 pm

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!
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: Error Handling?

Thu Aug 19, 2010 6:06 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests