pub fn record_error(resource_type: &str, error_type: &str)
Record an error
resource_type
error_type
api_error
validation_error