CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-aggregate-error

Create an error from multiple errors

94

1.28x
Overview
Eval results
Files

Evaluation results

100%

100%

Error Normalizer

Error normalization and conversion to Error instances

Criteria
Without context
With context

Uses aggregate-error package

0%

100%

Error instance preservation

0%

100%

Object to Error conversion

0%

100%

String to Error conversion

0%

100%

Access normalized errors

0%

100%

100%

80%

Batch Validation Error Aggregator

Multiple error input type handling (Error instances, strings, plain objects)

Criteria
Without context
With context

AggregateError instantiation

0%

100%

Error instance handling

33%

100%

String conversion

33%

100%

Plain object conversion

33%

100%

Errors array access

0%

100%

Mixed type handling

50%

100%

95%

-5%

Batch Validation Error Reporter

Message formatting and indentation with multi-error consolidation

Criteria
Without context
With context

AggregateError Import

100%

50%

Error Collection

100%

100%

AggregateError Construction

100%

100%

Error Input Types

100%

100%

Formatted Output

100%

100%

70%

-30%

Validation Error Collector

Error storage and access via readonly getter

Criteria
Without context
With context

AggregateError import

100%

100%

AggregateError instantiation

100%

100%

Collects all errors

100%

100%

Uses errors getter

100%

0%

Iterates over errors

100%

100%

Throws AggregateError

100%

100%

100%

Custom Validation Error

Standard Error interface compliance and extensibility

Criteria
Without context
With context

AggregateError import

100%

100%

AggregateError instantiation

100%

100%

Error inheritance

100%

100%

Error normalization

100%

100%

Read-only access pattern

100%

100%

Input validation

100%

100%

Error name property

100%

100%

85%

5%

Error Stack Cleaner

Stack trace cleaning with clean-stack dependency and internal frame removal

Criteria
Without context
With context

clean-stack import

100%

100%

clean-stack application

100%

100%

Internal frame regex

33%

50%

Stack cleaning combination

100%

100%

Edge case handling

100%

100%

100%

40%

Type-Safe Error Validator

TypeScript generic support for type-safe error collections

Criteria
Without context
With context

Import AggregateError

100%

100%

Use Generic Type Parameter

0%

100%

Pass Error Array

100%

100%

Return AggregateError Instance

100%

100%

Type-Safe Error Access

50%

100%

Handle Empty Array

100%

100%

100%

Error Log Aggregator

Edge case handling (missing stacks, empty stacks, stackless errors)

Criteria
Without context
With context

Imports AggregateError

100%

100%

Creates AggregateError instance

100%

100%

Returns AggregateError

100%

100%

Handles missing stacks

100%

100%

Handles empty stacks

100%

100%

Provides error access

100%

100%

100%

Batch Logger Implementation { .spec }

Input validation for array requirement

Criteria
Without context
With context

Array.isArray() validation

100%

100%

TypeError throwing

100%

100%

Descriptive error message

100%

100%

Validation before processing

100%

100%

typeof operator usage

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-aggregate-error
Evaluated
Agent
Claude Code

Table of Contents