Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: errors #46

Merged
merged 18 commits into from
Apr 29, 2024
Merged

refactor: errors #46

merged 18 commits into from
Apr 29, 2024

Conversation

zmalatrax
Copy link
Collaborator

Move error handling from a few classes with specific strings to classes-only.
It allow for a more granular error management.

Currently unused errors have been deleted.

Too verbose errors were renamed:

  • InvalidOperandOneSource -> InvalidOp1Source
  • InvalidOperand0 -> InvalidOp0
  • InvalidOperand1 -> InvalidOp1

@zmalatrax zmalatrax self-assigned this Apr 24, 2024
src/errors/memory.ts Outdated Show resolved Hide resolved
src/errors/memory.ts Outdated Show resolved Hide resolved
src/errors/memory.ts Outdated Show resolved Hide resolved
ClementWalter
ClementWalter previously approved these changes Apr 29, 2024
@ClementWalter ClementWalter merged commit 5898ce3 into main Apr 29, 2024
3 checks passed
@ClementWalter ClementWalter deleted the refactor/errors branch April 29, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants