• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lambda-lambda-lambda / router / 8086199887

28 Feb 2024 07:39PM UTC coverage: 98.228%. Remained the same
8086199887

push

github

nuxy
Updated package version (0.8.1)

155 of 162 branches covered (95.68%)

Branch coverage included in aggregate %.

233 of 233 relevant lines covered (100.0%)

871.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/router/Error.js
1
/**
2
 *  lambda-lambda-lambda/router
3
 *  AWS Lambda@Edge serverless application router.
4
 *
5
 *  Copyright 2021-2023, Marc S. Brooks (https://mbrooks.info)
6
 *  Licensed under the MIT license:
7
 *  http://www.opensource.org/licenses/mit-license.php
8
 */
9

10
'use strict';
11

12
// Differentiate app/router errors.
13
class RouterError extends Error {
14
  constructor(message) {
15
    super(message);
24✔
16
    this.name = this.constructor.name;
24✔
17
  }
18
}
19

20
module.exports = {RouterError, RouterError};
498✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc