It was causing a lot of code duplication. If someone doesn't have errors, just return {} from the callback and unwrap the Result.