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

oprajs / opra / 14419802659

12 Apr 2025 12:55PM UTC coverage: 82.088% (+4.2%) from 77.908%
14419802659

push

github

web-flow
Merge pull request #27 from oprajs/dev

Dev

3458 of 4432 branches covered (78.02%)

Branch coverage included in aggregate %.

16 of 16 new or added lines in 10 files covered. (100.0%)

1793 existing lines in 129 files now uncovered.

29424 of 35625 relevant lines covered (82.59%)

183.2 hits per line

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

68.42
/packages/common/src/exception/http-errors/method-not-allowed.error.ts
1
import type { ErrorIssue } from '../error-issue.js';
1✔
2
import { OpraHttpError } from '../opra-http-error.js';
1✔
3

1✔
4
/**
1✔
5
 * 405 Method Not Allowed
1✔
6
 * The request method is known by the server but is not supported by the target resource.
1✔
7
 * For example, an API may not allow calling DELETE to remove a resource.
1✔
8
 */
1✔
9
export class MethodNotAllowedError extends OpraHttpError {
1✔
10
  status = 405;
1✔
11

1✔
12
  protected init(issue: Partial<ErrorIssue>) {
1✔
13
    super.init({
×
UNCOV
14
      message: 'Method not allowed',
×
UNCOV
15
      code: 'METHOD_NOT_ALLOWED',
×
UNCOV
16
      ...issue,
×
UNCOV
17
    });
×
UNCOV
18
  }
×
19
}
1✔
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