# Module: vertx-web-js/error_handler

## vertx-web-js/error_handler

Source:
  - error_handler.js, line 3

### Classes

ErrorHandler

### Methods

#### <static> ErrorHandler.create(errorTemplateName, displayExceptionDetails) → {ErrorHandler}

  Create an error handler

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `errorTemplateName` | string | the error template name - will be looked up from the classpath
  `displayExceptionDetails` | boolean | true if exception details should be displayed

  Source:
    - error_handler.js, line 61

  ##### Returns:

  the handler
  Type
    ErrorHandler