/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: db2bfcd6fdcd
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const StreamError$inboundSchema = z
    .object({
    error: z.string(),
});
export function streamErrorFromJSON(jsonString) {
    return safeParse(jsonString, (x) => StreamError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamError' from JSON`);
}
//# sourceMappingURL=streamerror.js.map