transport_Error_Codes.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * error_Codes.h
  3. *
  4. * Created on: Nov 27, 2017
  5. * Author: anay
  6. */
  7. #ifndef HEADERS_TRANSPORT_ERROR_CODES_H_
  8. #define HEADERS_TRANSPORT_ERROR_CODES_H_
  9. #define NO_ERROR 0x00
  10. #define INTERNAL_ERROR 0x01
  11. #define FLOW_CONTROL_ERROR 0x03
  12. #define STREAM_ID_ERROR 0x04
  13. #define STREAM_STATE_ERROR 0x05
  14. #define FINAL_OFFSET_ERROR 0x06
  15. #define FRAME_FORMAT_ERROR 0x07
  16. #define TRANSPORT_PARAMETER_ERROR 0x08
  17. #define VERSION_NEGOTIATION_ERROR 0x09
  18. #define PROTOCOL_VIOLATION 0x0A
  19. #define PADDING_FRAME_ERROR 0x100
  20. #define RST_STREAM_ERROR 0x101
  21. #define CONNECTION_CLOSE_FRAME_ERROR 0x102
  22. #define APPLICATION_CLOSE_FRAME_ERROR 0x103
  23. #define MAX_DATA_FRAME_ERROR 0x104
  24. #define MAX_STREAM_DATA_FRAME_ERROR 0x105
  25. #define MAX_STREAM_ID_FRAME_ERROR 0x106
  26. #define PING_FRAME_ERROR 0x107
  27. #define BLOCKED_FRAME_ERROR 0x108
  28. #define STREAM_BLOCKED_FRAME_ERROR 0x109
  29. #define STREAM_ID_BLOCKED_FRAME_ERROR 0x10A
  30. #define NEW_CONNECTION_ID_FRAME_ERROR 0x10B
  31. #define STOP_SENDING_FRAME_ERROR 0x10C
  32. #endif /* HEADERS_TRANSPORT_ERROR_CODES_H_ */