Function chainerror
Source pub fn chainerror<S>(error: CoreError, message: S) -> CoreError
Expand description
Create an error chain by adding a new error context
§Arguments
error - The error to chain
message - A message describing the context of the error
§Returns
- A CoreError with the original error as its cause