New:Socket for Asana Is Now Available.Learn more
Get Started

@czap/error

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@czap/error - npm Package Compare versions

Comparing version
0.4.0
to
0.4.1
+5
-5
package.json
{
"name": "@czap/error",
"version": "0.4.0",
"version": "0.4.1",
"description": "Composable tagged-error algebra: a closed variant coproduct over an open `TaggedError` contract — value AND type, Effect- and throw-compatible (the foundational zero-dep leaf)",

@@ -9,7 +9,7 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/heyoub/LiteShip",
"url": "https://github.com/freebatteryfactory/LiteShip",
"directory": "packages/error"
},
"bugs": "https://github.com/heyoub/LiteShip/issues",
"homepage": "https://github.com/heyoub/LiteShip#readme",
"bugs": "https://github.com/freebatteryfactory/LiteShip/issues",
"homepage": "https://github.com/freebatteryfactory/LiteShip#readme",
"keywords": [

@@ -39,3 +39,3 @@ "czap",

"engines": {
"node": ">=22.0.0"
"node": ">=22.13.0"
},

@@ -42,0 +42,0 @@ "publishConfig": {

@@ -45,3 +45,3 @@ # @czap/error

This is the foundational leaf the rest of the stack adopts — `standalone`, with zero `@czap/*` dependencies, so any package can fail with it. The built-in variants form one CLOSED coproduct (`LiteShipError` = `ValidationError | ParseError | IoError | HostCapabilityError | InvariantViolationError | NotFoundError | UnsupportedError | IntegrityError`) over the open `TaggedError` contract every helper (`hasTag`, `matchTag`, `matchTagOr`, `raise`, `assertNever`) operates on. See the [package surfaces map](https://github.com/heyoub/LiteShip/blob/main/PACKAGE-SURFACES.md) for the full layout.
This is the foundational leaf the rest of the stack adopts — `standalone`, with zero `@czap/*` dependencies, so any package can fail with it. The built-in variants form one CLOSED coproduct (`LiteShipError` = `ValidationError | ParseError | IoError | HostCapabilityError | InvariantViolationError | NotFoundError | UnsupportedError | IntegrityError`) over the open `TaggedError` contract every helper (`hasTag`, `matchTag`, `matchTagOr`, `raise`, `assertNever`) operates on. See the [package surfaces map](https://github.com/freebatteryfactory/LiteShip/blob/main/PACKAGE-SURFACES.md) for the full layout.

@@ -68,9 +68,9 @@ ## When a variant doesn't fit

- [Getting started](https://github.com/heyoub/LiteShip/blob/main/GETTING-STARTED.md)
- [Architecture](https://github.com/heyoub/LiteShip/blob/main/ARCHITECTURE.md) — composition over inheritance, the load-bearing design law
- [Glossary](https://github.com/heyoub/LiteShip/blob/main/GLOSSARY.md) — the vocabulary used above
- [API reference](https://github.com/heyoub/LiteShip/tree/main/docs/api/error/src/) — generated from source
- [Getting started](https://github.com/freebatteryfactory/LiteShip/blob/main/GETTING-STARTED.md)
- [Architecture](https://github.com/freebatteryfactory/LiteShip/blob/main/ARCHITECTURE.md) — composition over inheritance, the load-bearing design law
- [Glossary](https://github.com/freebatteryfactory/LiteShip/blob/main/GLOSSARY.md) — the vocabulary used above
- [API reference](https://github.com/freebatteryfactory/LiteShip/tree/main/docs/api/error/src/) — generated from source
---
Part of [LiteShip](https://github.com/heyoub/LiteShip#readme) — powered by the CZAP engine (Content-Zoned Adaptive Projection), distributed as `@czap/*` packages.
Part of [LiteShip](https://github.com/freebatteryfactory/LiteShip#readme) — powered by the CZAP engine (Content-Zoned Adaptive Projection), distributed as `@czap/*` packages.