Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir get error message

try do
  raise "Oh no!"
rescue
  e in RuntimeError -> IO.puts("An error occurred: " <> e.message)
end
 
PREVIOUS NEXT
Tagged: #elixir #error #message
ADD COMMENT
Topic
Name
9+6 =