You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
431 B
14 lines
431 B
4 months ago
|
import { newInvariantError } from "../../utilities/globals/index.js";
|
||
|
export var serializeFetchParameter = function (p, label) {
|
||
|
var serialized;
|
||
|
try {
|
||
|
serialized = JSON.stringify(p);
|
||
|
}
|
||
|
catch (e) {
|
||
|
var parseError = newInvariantError(39, label, e.message);
|
||
|
parseError.parseError = e;
|
||
|
throw parseError;
|
||
|
}
|
||
|
return serialized;
|
||
|
};
|
||
|
//# sourceMappingURL=serializeFetchParameter.js.map
|