| 155 | }; |
| 156 | |
| 157 | class inconsistent_indentation : public exception<inconsistent_indentation> |
| 158 | { |
| 159 | public: |
| 160 | inconsistent_indentation( |
| 161 | int64_t indent_level, int64_t base_indentation, debug_info info) |
| 162 | : exception(info) |
| 163 | { |
| 164 | this->error("Line uses an inconsistent level of indentation ({}) where base " |
| 165 | "indentation is {}", |
| 166 | indent_level, base_indentation); |
| 167 | } |
| 168 | }; |
| 169 | |
| 170 | class too_much_indentation : public exception<too_much_indentation> |
| 171 | { |