google / google/webcrypto.dart

Consider augmenting _Scope to ensure we clear errors after each operation

Open
#61 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
116
Forks
110
Avg merge
6d 8h
Merged PRs (30d)
9

Description

We wrap all (or almost all) FFI code in `_Scope`, thus, it might make sense to review all usage of `_Scope` to see if we can augment `_Scope` such that that clear errors after an operation is done.

We should be handling errors all the places where they can happen, but as added safety it might be wise to clear errors after each operation and throw an error, if BoringCrypto has an error on the stack that we didn't expect to find there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.