rust-vmm / rust-vmm-ci

Apache License 2.0
18 stars 33 forks source link

Use derivatives of BaseException for exceptions #129

Closed stefano-garzarella closed 1 year ago

stefano-garzarella commented 1 year ago

Summary of the PR

When the coverage changes, we raise exceptions with simple strings, this causes the following error:

TypeError: exceptions must derive from BaseException

Let's use derivatives of BaseException to fix this issue.

Requirements

Before submitting your PR, please make sure you addressed the following requirements: