Line data Source code
1 : #pragma once 2 : 3 : #include <string> 4 : 5 : #include "envoy/common/exception.h" 6 : #include "envoy/http/codes.h" 7 : #include "envoy/http/header_map.h" 8 : 9 : namespace Envoy { 10 : namespace Http { 11 : 12 : /** 13 : * Indicates a client (local) side error which should not happen. 14 : */ 15 : class CodecClientException : public EnvoyException { 16 : public: 17 0 : CodecClientException(const std::string& message) : EnvoyException(message) {} 18 : }; 19 : 20 : } // namespace Http 21 : } // namespace Envoy