3 ms·
What is the error handling story? I'm shocked that Control Flow doesn't contain Try-Except Anyway, I ask because Write File returns nothing <https://docs.getfl
by mdaniel 1y ago
What is the error handling story? I'm shocked that Control Flow doesn't contain Try-Except
Anyway, I ask because Write File returns nothing <https://docs.getflowcode.io/docs/reference/file-system/write-file#outputs https://docs.getflowcode.io/docs/reference/file-system/write...> but there's also no discussion on that page of what happens when one cannot Write File (and the ways that can fall over are almost unlimited)
Also, please fix the inputs bullet list, that's a pretty glaring "no one reads these docs" bug. While you're there, never, ever, ever, ever, ever just have the documentation for anything be a repetition of the input variable's name. I can read, what I can't do is know what the domain of possible encodings are available (base64? base85? uuencoding? gzip+base64 <https://docs.cloud-init.io/en/24.3/reference/modules.html#write-files:~:text=gz%2Fgzip%2Fgz%2Bbase64%2Fgzip%2Bbase64%2Fgz%2Bb64%2Fgzip%2Bb64%2Fb64%2Fbase64%2Ftext%2Fplain https://docs.cloud-init.io/en/24.3/reference/modules.html#wr...>?)
- gabigrin 1y agoRe: docs, 100%, it needs tons of improvement. Error handling is a first-class citizen in Flyde, the visual programming language powering Flowcode. Any node has an "output pin" called "error" that will emit data if something goes wrong. You can test this real quick in the playground - throw in a JS expression and write some gibberish and test your flow. Alternatively, use the HTTP node with a non-existent URL