[error] Implement core::error::Error for errors
#1663
Merged
core::error::Error for errors
#1663