Latest #exceptions Threads 
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 common interface for Error Tracking and Reporting, agnostic to which services or dest...
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
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
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
This Month's Trending
This Year's Trending
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
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
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
:castle: Tower is an Elixir library that provides a common interface for Error Tracking and Reporting, agnostic to which services or dest...
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
Announcing Errata, an Elixir library for consistent and structured error handling.
Errata is an Elixir library that promotes a consisten...
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
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 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
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
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 (https://hexdocs.pm/elixir/Exception...
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
I wrote a test like this:
test "Exception should be raised" do
assert_raise MyApp.CustomException, fn -> MyApp.do_something("invali...
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
Neither Sentry nor AppSignal can track BEAM crashes, because they crash together with BEAM. The app automatically restarts, so external m...
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
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
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
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
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







