| 829 | } |
| 830 | |
| 831 | static td::Status process_boolean(Ctx &ctx) { |
| 832 | if (!ctx.is_boolean()) { |
| 833 | return td::Status::Error(ton::ErrorCode::protoviolation, PSTRING() << ctx.path() << " must be a boolean"); |
| 834 | } |
| 835 | return td::Status::OK(); |
| 836 | } |
| 837 | |
| 838 | template <typename F> |
| 839 | static td::Status process_string_or_array(Ctx &ctx, F &&run) { |
nothing calls this directly
no test coverage detected