add optional (for now) 'format_error' function for providers