Use returnErrorResponse runtime