pub fn priority_error(details: &str) -> Error
Create a PriorityError with details about the failure.
PriorityError