| 539 | // SetSessionOptionErrorValue |
| 540 | |
| 541 | std::string ToString(const SetSessionOptionErrorValue& error_value) { |
| 542 | static constexpr const char* SetSessionOptionStatusNames[] = { |
| 543 | "Unspecified", |
| 544 | "InvalidName", |
| 545 | "InvalidValue", |
| 546 | "Error", |
| 547 | }; |
| 548 | return SetSessionOptionStatusNames[static_cast<int>(error_value)]; |
| 549 | } |
| 550 | |
| 551 | std::ostream& operator<<(std::ostream& os, |
| 552 | const SetSessionOptionErrorValue& error_value) { |