mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 15:32:43 +01:00
toJSON: re-throw serialization exception
(cherry picked from commit 4a2310a3a0)
This commit is contained in:
parent
e0c8b0fc4f
commit
9936cb21ab
4 changed files with 17 additions and 1 deletions
|
|
@ -16,4 +16,7 @@ nlohmann::json printValueAsJSON(EvalState & state, bool strict,
|
|||
void printValueAsJSON(EvalState & state, bool strict,
|
||||
Value & v, const PosIdx pos, std::ostream & str, NixStringContext & context, bool copyToStore = true);
|
||||
|
||||
|
||||
MakeError(JSONSerializationError, Error);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue