This is the first PR from splitting the initial one #404.
To avoid defining error types in each module file to be implemented for this feature, I created a general error type in the lib.rs file. In this way, the enclave build error can be used outside the crate and also extended easier.
By using thiserror attributes, we don't need display implementations for every defined error.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Dockerless frature (1/5)
This is the first PR from splitting the initial one #404.
To avoid defining error types in each module file to be implemented for this feature, I created a general error type in the
lib.rs
file. In this way, the enclave build error can be used outside the crate and also extended easier. By usingthiserror
attributes, we don't need display implementations for every defined error.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.