Skip to content

Normalise error handling in the code #92

Open
@meszaros-lajos-gyorgy

Description

@meszaros-lajos-gyorgy

Most of the time return true means the function exited correctly. export_error() inside exporters.js works the other way around. Early exits work in yet another way, since they only exit with a return;

The code might look cleaner with throwing errors instead of using return. Or using Either or other monads.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions