Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@speclynx/apidom-error

Latest version: v7.1.1

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: char0n, frantuma
8 Stars
2 Forks
21 Versions
267.9K Downloads
TypeScript Repo language

Scan summary

@speclynx/apidom-error was last scanned on 26 Nov 2026 at version 7.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 7.1.1.
  • Downloads: 267,908 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
7.1.1 LATEST 26 Nov 2026 No rules fired
7.1.0 19 Nov 2026 No rules fired
7.0.2 11 Nov 2026 No rules fired
7.0.1 8 Nov 2026 Not shown
6.2.0 7 Nov 2026 Not shown

No rules fired in 7.1.1

Findings

Findings for v7.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 7.1.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@speclynx/apidom-error

apidom-error provides several error classes in support of Joyent's Best Practices for Error Handling in Node.js. These error classes should be used as a superclass for all operational errors. Operational errors represent run-time problems experienced by correctly-written programs.

Error classes from apidom-error handle complexities of extending native Error class and support error chaining in backward and forward compatible way.

Base errors

Base errors are meant to directly be thrown by ApiDOM code or to be extended to form custom error hierarchies.

ApiDOMError

Basic error class that can be easily extended and form error chains.

import { ApiDOMError } from '@speclynx/apidom-error';

const error1 = new ApiDOMError('error message'); // basic error
const error2 = new ApiDOMError('error message', { cause: new Error('cause') }); // error chain
ApiDOMStructuredError

Error class that is based on ApiDOMError and allows to assign arbitrary data properties to its instances.

import { ApiDOMStructuredError } from '@speclynx/apidom-error';

const error1 = new ApiDOMStructuredError('error message', { cause: new Error('cause') }); // just like ApiDOMError

const error2 = new ApiDOMStructuredError('error message', {
  prop1: 'value1',
  prop2: 3,
})
error2.prop1; // => 'value1'
error2.prop2; // => 3

Although structured error class gives convenience by assigning arbitrary properties, it's highly recommended to extend ApiDOMStructuredError class and create public properties explicitly.

import { ApiDOMStructuredError, ApiDOMErrorOptions } from '@speclynx/apidom-error';

interface StructuredErrorOptions extends ApiDOMErrorOptions {
  readonly prop1: string;
  readonly prop2: number;
}

class PropError extends ApiDOMStructuredError {
  public readonly  prop1: string;
  public readonly prop2: number;

  constructor(message?: string, options?: StructuredErrorOptions) {
    super(message, options)
    if (typeof options !== 'undefined') {
      this.prop1 = options.prop1;
      this.prop2 = options.prop2;
    }
  }
}
ApiDOMAggregateError

ApiDOMAggregateError can be easily extended and represents instance of an error when several errors need to be wrapped in a single error. It is thrown when multiple errors need to be reported by an operation. Supports error chaining as well.

import { ApiDOMAggregateError } from '@speclynx/apidom-error';

const error1 = new Error('error1');
const error2 = new Error('error2');
const cause = new Error('optional cause');

const aggregateError = new ApiDOMAggregateError([error1, error2], 'aggregate error', {
  cause,
});

This class is based on native [AggregateError], and due to the fact that JavaScript classes don't support multiple inheritance, it cannot also be based on ApiDOMError. Nevertheless, for convenience, following will work:

import { ApiDOMAggregateError, ApiDOMError } from '@speclynx/apidom-error';

const aggregateError = new ApiDOMAggregateError([]);
aggregateError instanceof ApiDOMError; // => true
aggregateError instanceof AggregateError; // => true

Generic custom errors

Generic custom errors represent custom errors that are generic enough to be used across ApiDOM monorepo packages and are not specific to any particular ApiDOM package.

UnsupportedOperationError

This error class that is based on ApiDOMError. Thrown to indicate that the requested operation is not supported.

import { UnsupportedOperationError } from '@speclynx/apidom-error';

const error = new UnsupportedOperationError('error message');
NotImplementedError

Error class that is based on UnsupportedOperationError and. It is thrown to indicate that a block of code has not been implemented. This exception provides a more semantically rich description of the problem than base ApiDOMError.

import { NotImplementedError } from '@speclynx/apidom-error';

const error = new NotImplementedError('error message');

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @speclynx/apidom-error

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229