Because std::error::Error is not part of core, this commit feature-gates the
derived Error implementation on whether std is available. If we are in a
no_std context, the Error enums are just plain enums with no Error
implementation.
Closes #306
Follows on from #307, so this should be merged only after that one is.
Because std::error::Error is not part of core, this commit feature-gates the derived
Error
implementation on whetherstd
is available. If we are in ano_std
context, theError
enums are just plain enums with noError
implementation.Closes #306
Follows on from #307, so this should be merged only after that one is.