Custom 'finalize_error' for RapidApp Ajax requests (plain text)