| 358 | /// existing status code and detail. |
| 359 | template <typename... Args> |
| 360 | Status WithMessage(Args&&... args) const { |
| 361 | return FromArgs(code(), std::forward<Args>(args)...).WithDetail(detail()); |
| 362 | } |
| 363 | |
| 364 | /// \brief Apply a functor if the status indicates an error |
| 365 | /// |