Skip to main content

Error Handling and Running an App

  • Chapter
  • First Online:
  • 920 Accesses

Abstract

Good web applications must have informative error messages to notify clients exactly why their request has failed. Errors might be caused either by the client (e.g., wrong input data) or by the server (e.g., a bug in the code).

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   27.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    https://www.npmjs.org/package/sendgrid

  2. 2.

    https://github.com/sendgrid/sendgrid-nodejs

  3. 3.

    http://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Azat Mardan

About this chapter

Cite this chapter

Mardan, A. (2014). Error Handling and Running an App. In: Express.js Deep API Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0781-9_7

Download citation

Publish with us

Policies and ethics