You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To decouple the error returned from the trait Logger from the Provider, we converted the error type to a Box<dyn std::error::Error>.
This change was made because it introduced a LoggerErrorT generic on the ProviderData which was bleeding into other traits/types.
Ideally, we'd avoid type erasure in error management. Since the original change, some refactors have happened that might make it possible to reintroduce the strongly typed Error.
Definition of Done
Either
reintroduce the type Error on the trait Logger in an extensible way; or
determine that it's impossible.
The text was updated successfully, but these errors were encountered:
To decouple the error returned from the
trait Logger
from theProvider
, we converted the error type to aBox<dyn std::error::Error>
.This change was made because it introduced a
LoggerErrorT
generic on theProviderData
which was bleeding into other traits/types.Ideally, we'd avoid type erasure in error management. Since the original change, some refactors have happened that might make it possible to reintroduce the strongly typed
Error
.Definition of Done
Either
type Error
on thetrait Logger
in an extensible way; orThe text was updated successfully, but these errors were encountered: