Latest #exceptions Threads Top

krisleech
On a regular basis I’m seeing errors reported to Sentry such as GenServer #PID<0.106725.0> terminating The “crash reason” reported...
New
dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
New
jvoegele
Announcing Errata, an Elixir library for consistent and structured error handling. Errata is an Elixir library that promotes a consisten...
New
grzuy
:castle: Tower is an Elixir library that provides a common interface for Error Tracking and Reporting, agnostic to which services or dest...
New
LostKobrakai
I’m in the process of working on a library, where I want to have quite expressive exceptions (due to a lot of domain specific constraints...
New
budgie
I have this function and the exception is being raised as expected. However, the block is still being evaluated even though the condition...
New
rakeshtripathy
Hi All, I have upgraded Phoenix to 1.5.14 and plug 1.14. I am getting below error after upgrading. warning: function actions/1 requir...
New
xgeek116
Hello, In my Phoenix application, my domain module will return a tuple {:error, reason} to the controller, I have 2 questions : What...
New
hst337
Is is possible to create a global filter which can change every exceptions’ stacktraces before they gets printed? I know that I can write...
New
oliverandrich
I am currently building a small library that has to traverse a tree of nodes and transform this tree into a document. This tree traversal...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
New
krisleech
On a regular basis I’m seeing errors reported to Sentry such as GenServer #PID<0.106725.0> terminating The “crash reason” reported...
New

Last Three Year's Trending Top

PragTob
:wave: I’m currently extracting the statistics calculation part from benchee and stumbled upon how to present error conditions. In the c...
New
grzuy
:castle: Tower is an Elixir library that provides a common interface for Error Tracking and Reporting, agnostic to which services or dest...
New
LostKobrakai
I’m in the process of working on a library, where I want to have quite expressive exceptions (due to a lot of domain specific constraints...
New
jvoegele
Announcing Errata, an Elixir library for consistent and structured error handling. Errata is an Elixir library that promotes a consisten...
New
budgie
I have this function and the exception is being raised as expected. However, the block is still being evaluated even though the condition...
New

Trending Over Three Years Top

verkhovin
Hi guys! Want to open here another discussion about error handling concepts in Elixir because it looks like I really stuck here by mysel...
New
fireproofsocks
I can’t seem to make custom exceptions work. If I define a module like this: defmodule MyApp.CustomException do defexception message:...
New
jeramyRR
I am getting an environment variable in one of my functions, and if that variable is not set or empty then I want to raise an exception b...
New
sheharyarn
The Issue There are a lot of guides available for handling error tuples in Absinthe but next to zero for exceptions. This is important b...
New
xgeek116
I need to handle and catch ecto exceptions to return my custom exceptions, my current functions is : def list_books(filters) when is_...
New
fireproofsocks
I’m just discovering defexception but I think the docs are not correct (?). It says " The Exception (https://hexdocs.pm/elixir/Exception...
New
binarypaladin
I’ve been trying to figure out how to handle the authorization layer of a Phoenix app I’m working on which has brought me full circle to ...
New
xgeek116
Hello, In my Phoenix application, my domain module will return a tuple {:error, reason} to the controller, I have 2 questions : What...
New
fireproofsocks
I wrote a test like this: test "Exception should be raised" do assert_raise MyApp.CustomException, fn -> MyApp.do_something("invali...
New
arjun289
I have an umbrella app(having one core Elixir and two Phoenix apps) running on prod in a docker container. In the dev environment if ther...
New
Athunnea
Neither Sentry nor AppSignal can track BEAM crashes, because they crash together with BEAM. The app automatically restarts, so external m...
New
oliverandrich
I am currently building a small library that has to traverse a tree of nodes and transform this tree into a document. This tree traversal...
New
rakeshtripathy
Hi All, I have upgraded Phoenix to 1.5.14 and plug 1.14. I am getting below error after upgrading. warning: function actions/1 requir...
New
trisolaran
Hello everyone, I hope you are all well! I recently had a WTF moment when working with the Stream module. I’d like to find out if you ar...
New
trisolaran
Hello! Does anybody know why dialyzer gives me this error: lib/data_ingestion_web/live/preprocess_live.ex:137:pattern_match_cov The pat...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement