attempt now returns value of the code block or default handler