Handling errors


show more Handling errors provides you with in-depth training on Developer. Taught by Bill Weinman as part of the HTML5: Messaging and Communications in Depth show less
please wait ...

Handling errors

There are few different types of errors you'll be concerned with in your HTML5 messaging application. Fortunately, most of these can be handled in the same way. Here we have a working copy of errors- one start.html and errors-two start.html. I've made working copies on my server, and I'm editing directly on my server. We'll just take a moment now and page through these for the benefit of those of you who need that. And here's errors-two.

Now the first thing we want to do is we want to go into each of these files and edit our constants, make sure those are set correctly. Here we have originTwo, which is set to the hostname of the server with working two on it, and URL two, which is the complete URL to errors-two-working.html. And we'll go into errors-two and check the same thing. And here's the line that you want be concerned with, and make sure that that has the hostname for your originOne server.

And now coming back here into errors-one, we need to add the eve...

Handling errors
Video duration: 6m 19s 43m 19s Intermediate

Viewers:

Handling errors provides you with in-depth training on Developer. Taught by Bill Weinman as part of the HTML5: Messaging and Communications in Depth

Subjects:
Developer Web
Software:
HTML
Author:
please wait ...