Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ If no map file is found, a `location` array will be returned instead of `sources
"errorType": "FetchError",
"message": "request to https://yolo-bro-oh-no.org/users/1 failed, reason: getaddrinfo ENOTFOUND yolo-bro-oh-no.org",
"stack": [
"at catcher (file:///Users/jpb06/repos/remix-effect-errors/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js?t=1729013117205.3699:2:14550)",
"at catch (file:///Users/jpb06/repos/remix-effect-errors/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js?t=1729013117205.3699:2:14550)",
"at EffectPrimitive.effect_instruction_i0 (file:///Users/jpb06/repos/remix-effect-errors/node_modules/effect/src/internal/core-effect.ts:1694:56)",
"at body (file:///Users/jpb06/repos/remix-effect-errors/node_modules/effect/src/internal/fiberRuntime.ts:1113:41)",
"at Object.effect_internal_function (file:///Users/jpb06/repos/remix-effect-errors/node_modules/effect/src/Utils.ts:780:14)",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"devDependencies": {
"@biomejs/biome": "2.3.15",
"@types/node": "25.2.3",
"@vitest/coverage-v8": "3.2.4",
"@vitest/coverage-v8": "4.0.18",
"copyfiles": "2.4.1",
"del-cli": "7.0.0",
"esbuild": "0.27.3",
Expand All @@ -80,7 +80,7 @@
"tsx": "4.21.0",
"typescript": "5.9.3",
"vite-tsconfig-paths": "6.0.5",
"vitest": "3.2.4",
"vitest": "4.0.18",
"vitest-mock-extended": "3.1.0"
},
"pnpm": {
Expand Down
1,069 changes: 397 additions & 672 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/examples/long-running.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('long-running task', () => {
expect(raw).toContain('Sources 🕵️');
expect(raw).not.toContain('Node Stacktrace 🚨');
expect(result).toMatch(
/│ at catcher \(\.\/src\/examples\/long-running.ts:14:19\)/,
/│ at catch \(\.\/src\/examples\/long-running.ts:14:19\)/,
);
});

Expand Down
4 changes: 2 additions & 2 deletions src/examples/schema-error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('schema-error task', () => {
expect(raw).toContain('Sources 🕵️');
expect(raw).not.toContain('Node Stacktrace 🚨');
expect(result).toMatch(
/│ at catcher \(.\/src\/examples\/schema-error\.ts:14:19\)/,
/│ at catch \(.\/src\/examples\/schema-error\.ts:14:19\)/,
);
});

Expand All @@ -61,7 +61,7 @@ describe('schema-error task', () => {
expect(raw).toContain('Sources 🕵️');
expect(raw).toContain('Node Stacktrace 🚨');
expect(result).toMatch(
/│ at catcher \(.*\/effect-errors\/src\/examples\/schema-error\.ts:14:19\)/,
/│ at catch \(.*\/effect-errors\/src\/examples\/schema-error\.ts:14:19\)/,
);
});
});
2 changes: 1 addition & 1 deletion src/examples/tagged-error-with-error-ctor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('tagged-error-with-error-ctor task', () => {

expect(raw).toContain('Sources 🕵️');
expect(result).toMatch(
/│ at catcher \(\.\/src\/examples\/tagged-error-with-error-ctor\.ts:15:19\)/,
/│ at catch \(\.\/src\/examples\/tagged-error-with-error-ctor\.ts:15:19\)/,
);
expect(result).toMatch(
/│ at \.\/src\/examples\/tagged-error-with-error-ctor\.ts:22:10/,
Expand Down
4 changes: 2 additions & 2 deletions src/examples/without-spans.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('without-spans task', () => {
expect(raw).not.toContain('Sources 🕵️');
expect(raw).toContain('Node Stacktrace 🚨');
expect(result).toMatch(
/│ at catcher (.*\/effect-errors\/src\/examples\/without-spans.ts:14:17)/,
/│ at catch (.*\/effect-errors\/src\/examples\/without-spans.ts:14:17)/,
);
});
});
Expand Down Expand Up @@ -122,7 +122,7 @@ describe('without-spans task', () => {
expect(raw).not.toContain('Sources 🕵️');
expect(raw).toContain('Node Stacktrace 🚨');
expect(message).toMatch(
/│ at catcher (.*\/src\/examples\/without-spans.ts:14:17)/,
/│ at catch (.*\/src\/examples\/without-spans.ts:14:17)/,
);
});
});
Expand Down