How to handle try and rescue errors in Elixir

后端 未结 0 631
温柔的废话
温柔的废话 2020-12-09 13:45

I am using try and rescue, but it\'s not working. When I do this,

iex(3)> try do
...(3)>   File.read! "junaid"
...(3)> rescue
...(3)>            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题