Latest #exceptions Threads 
After a good run of 0.x releases, Errata 1.0.0 is here — the first stable, production-ready release. The public API is now covered by Sem...
New
I’m trying to create a system where I will expose to end users the option to run tasks in the background. I want these users to be able t...
New
On a regular basis I’m seeing errors reported to Sentry such as GenServer #PID<0.106725.0> terminating
The “crash reason” reported...
New
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
New
Announcing Errata, an Elixir library for consistent and structured error handling.
Errata is an Elixir library that promotes a consisten...
New
:castle: Tower is an Elixir library that provides a standard interface for Exception Tracking and Reporting, agnostic/neutral to which se...
New
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
I have this function and the exception is being raised as expected. However, the block is still being evaluated even though the condition...
New
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
Hello,
In my Phoenix application, my domain module will return a tuple {:error, reason} to the controller, I have 2 questions :
What...
New
This Week's Trending
This Month's Trending
This Year's Trending
Announcing Errata, an Elixir library for consistent and structured error handling.
Errata is an Elixir library that promotes a consisten...
New
After a good run of 0.x releases, Errata 1.0.0 is here — the first stable, production-ready release. The public API is now covered by Sem...
New
I’m trying to create a system where I will expose to end users the option to run tasks in the background. I want these users to be able t...
New
Last Three Year's Trending
:wave:
I’m currently extracting the statistics calculation part from benchee and stumbled upon how to present error conditions. In the c...
New
I have defined a custom exception :
defmodule UnkownBookError do
@moduledoc false
defexception message: "Unknown book id", pl...
New
:castle: Tower is an Elixir library that provides a standard interface for Exception Tracking and Reporting, agnostic/neutral to which se...
New
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
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
New
I have this function and the exception is being raised as expected. However, the block is still being evaluated even though the condition...
New
On a regular basis I’m seeing errors reported to Sentry such as GenServer #PID<0.106725.0> terminating
The “crash reason” reported...
New
Trending Over Three Years
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
I am using something like this to to handle Websocket requests:
def handle_in("new_msg", data, socket) do
# do something with dat...
New
I can’t seem to make custom exceptions work. If I define a module like this:
defmodule MyApp.CustomException do
defexception message:...
New
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
I need to handle and catch ecto exceptions to return my custom exceptions, my current functions is :
def list_books(filters) when is_...
New
I’m just discovering defexception but I think the docs are not correct (?). It says " The Exception (Exception — Elixir v1.20.2) behavio...
New
Hi,
This a question regarding best practices when handling 3rd party exceptions/exits.
I ran into a problem with calling AMQP.Queue.dec...
New
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
Hello,
In my Phoenix application, my domain module will return a tuple {:error, reason} to the controller, I have 2 questions :
What...
New
Hello !
The goal is to have all exception that occurs and send it to an external service, like sentry.
I managed to catch them for:
e...
New
Neither Sentry nor AppSignal can track BEAM crashes, because they crash together with BEAM. The app automatically restarts, so external m...
New
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
I wrote a test like this:
test "Exception should be raised" do
assert_raise MyApp.CustomException, fn -> MyApp.do_something("invali...
New
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
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
- Follow
- Join
- Shape
the conversation
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
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
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixir-ls
- #elixirconf-us
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming









