perf ui: Introduce struct perf_error_ops