generated from iotaledger/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
dx-improvementMainly for DX team itself to track issues with features/fixes that improve dx.Mainly for DX team itself to track issues with features/fixes that improve dx.enhancementNew feature or requestNew feature or request
Description
Feature description
Map each Rust's error type into a TS class that extends Error where Rust's Display implementation is used in TS Error.message and Rust's source becomes Error.cause in TS.
In the actual Rust's bindings to TS import the TS Error through the use of an extern block and implement a conversion between TS <-> Rust error type.
Motivation
Current error-handling is worthless. Most of our errors can only logged out in a desperate attempt for users to understand what isn't working.
Metadata
Metadata
Assignees
Labels
dx-improvementMainly for DX team itself to track issues with features/fixes that improve dx.Mainly for DX team itself to track issues with features/fixes that improve dx.enhancementNew feature or requestNew feature or request
Type
Projects
Status
Product Backlog