Skip to main content

Domain and Express.js

  • Chapter
  • First Online:
Pro Express.js
  • 1683 Accesses

Abstract

The domain module is a core Node.js module ( http://nodejs.org/api/domain.html ) that aids developers in tracking and isolating errors, often a daunting task, through the use of domains. Think of domains as a smarter version of try/catch statements.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.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

Institutional subscriptions

Notes

  1. 1.

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch

  2. 2.

    https://github.com/azat-co/expressjsguide/tree/master/domains

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). Domain and Express.js. In: Pro Express.js. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0037-7_17

Download citation

Publish with us

Policies and ethics