ShalokShalom
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
I’m posting this in response to Jose’s recent tweet (Cr. link) :
People are sleeping on Elixir for a coding harness:
Hot-code swappi...
New
Hello,
I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
Other Trending Topics
If you’re flying into Chicago for ElixirConf US, you’ll probably land on Tuesday with an evening to fill. We teamed up with dscout to run...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 8- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
astery
Nice! We have some steps in that direction with Exception.blame in v1.5. Thou I would rephrase the question to “That errors output in elixir do you think should be better handled?” Because it’s not a general approach, but context/error specific.
ShalokShalom
So far as I see is it general and some might think, the current solution is more suitable.
OvermindDL1
Statically typed languages are able to give error messages like that because the compiler knows the types and can infer a lot of information based on that, Elixir’s would not be capable of near the same level.
However, Elixir has some really nice messages, like the new showing which cases did and did not match so you know why things fail a match is unique. ^.^
ShalokShalom
Hnn, the line can be shown this way?
OvermindDL1
What line?
You can see the new match errors reported on: Elixir v1.5 released - The Elixir programming language
They are in the asciinema so make sure third-party javascript is enabled. It is quite nice.
ShalokShalom
@AstonJ The link in the initial post changed: Way, Way, Waaaay Nicer Error Messages! · Reason
joaoevangelista
Can’t we really have messages like that? Just showing the line in the format its presented, the position of the error and an verbose explanation for possible causes would help a lot!
OvermindDL1
Doesn’t elixir already do that for most errors if the information is available (I.E. full compiled module, recent OTP that Elixir is compiled with, etc…)?