#pragma once #include #include #include #include #include "absl/types/optional.h" namespace Envoy { namespace Platform { struct EnvoyError { int error_code; std::string message; absl::optional attempt_count; absl::optional cause; }; using EnvoyErrorSharedPtr = std::shared_ptr; } // namespace Platform } // namespace Envoy