結果 : typescript throw new error with status code