Error strings in init
Zerthox opened this issue · comments
The init
function currently returns a Box<dyn Error>
. All it does with it, is use its Display
implementation to convert it via to_string
.
The user could instead be given the possibility of simply returning an error string. This allows using Error
and converting it yourself before returning, as well as simply returning a plain custom string message.