0 Replies Latest reply on Sep 9, 2008 5:11 AM by (Fonzie_Flower)

    sample code for geterror and geterrormessage - aka understandinf if an error occurred

      Guys,

      maybe my last question was not well formulated...

      how can I detect in a custom trigger IF an error has occurred? In my specific case upload errors.
      I am trying the methods geterror and geterrormessage but I don't get any values from a custom trigger. Geterrormessage gives me always an array with three empty values.

      Can you please post a bit of WORKING CODE?

      Please don't post the usual if(a != b) because I don't know how the object is made ;-)

      Thanks a lot for the help.