Hey! Tried searching through the go documentation,...
# general
b
Hey! Tried searching through the go documentation, the getting started, some blog posts, and github issues (https://github.com/pulumi/pulumi/discussions/9069#discussioncomment-2269460). I however cannot find anything that describes what exactly happens when an
ApplyT()
on an output returns an error (say like the example I wanted to return an error if a string does not contain the letter 'a'? Does
ApplyT
panic if the function passed in returns an error? Does it return the error via the main
pulumi.RunErr()
call? Is there something I need to do in order to capture and handle the error?