| 417 | class AsyncErrorDetail : public StatusDetail { |
| 418 | public: |
| 419 | AsyncErrorDetail(int code, std::string message, std::string metadata) |
| 420 | : code_(code), message_(std::move(message)), metadata_(std::move(metadata)) {} |
| 421 | const char* type_id() const override { return "AsyncErrorDetail"; } |
| 422 | // ToString just returns the error message that was returned with the error |
| 423 | std::string ToString() const override { return message_; } |
nothing calls this directly
no outgoing calls
no test coverage detected