response_error.cs 459 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.IO;
  7. namespace HXX.Scanner.Biz.Socket
  8. {
  9. /// <summary>
  10. /// 返回其他错误信息
  11. /// </summary>
  12. public class response_error : response_base
  13. {
  14. public response_error(string msg)
  15. {
  16. this.action = "error";
  17. this.code = 500;
  18. this.msg = msg;
  19. }
  20. }
  21. }