Create an error from multiple errors
94
Error normalization and conversion to Error instances
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%
Multiple error input type handling (Error instances, strings, plain objects)
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%
Message formatting and indentation with multi-error consolidation
AggregateError Import
100%
50%
Error Collection
100%
100%
AggregateError Construction
100%
100%
Error Input Types
100%
100%
Formatted Output
100%
100%
Error storage and access via readonly getter
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%
Standard Error interface compliance and extensibility
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%
Stack trace cleaning with clean-stack dependency and internal frame removal
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%
TypeScript generic support for type-safe error collections
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%
Edge case handling (missing stacks, empty stacks, stackless errors)
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%
Input validation for array requirement
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