Creates an unsupported operation error.
| 156 | |
| 157 | /// Creates an unsupported operation error. |
| 158 | static Error unsupported(const std::string &msg) { |
| 159 | return Error(ErrorCode::Unsupported, msg); |
| 160 | } |
| 161 | |
| 162 | /// Creates a not allowed operation error. |
| 163 | static Error not_allowed(const std::string &msg) { |