Check if an error has occurred during deserialization.
| 419 | |
| 420 | /// Check if an error has occurred during deserialization. |
| 421 | FORY_ALWAYS_INLINE bool has_error() const { return !error_.ok(); } |
| 422 | |
| 423 | /// Set error if no error exists yet (preserves root cause). |
| 424 | FORY_ALWAYS_INLINE void set_error(Error err) { |