
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
@rxstack/exceptions
Advanced tools
The Exception component contains a set of standard exception classes. They set the correct HTTP status codes for REST calls and socket responses.
npm install @rxstack/exceptions --save
The following exception types, all of which are instances of base Exception class are available:
Exceptions contain the following fields:
If you use https://github.com/typestack/class-validator then you need ValidationException:
import {ValidationException} from `@rxstack/exceptions`
const errors: ValidationError[];
throw new ValidationException(errors);
To transform a native error to exception, you can use:
import {transformToException} from `@rxstack/exceptions`
// returns instance of Exception
transformToException(error);
FAQs
RxStack Exceptions Component
The npm package @rxstack/exceptions receives a total of 43 weekly downloads. As such, @rxstack/exceptions popularity was classified as not popular.
We found that @rxstack/exceptions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.