Latest #error-handling 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
Hi,
I’m currently in the process of rewriting our React app to LiveView. So far, everything is working well, but I’ve run into an issue....
New
Hi everyone,
I’ve been implementing RFC 9457 (Problem Details for HTTP APIs) in a Phoenix API project and wanted to share the pattern an...
New
We recently had an authentification problem with an external service, and it went unnoticed, because we returned the clients return value...
New
First, sorry if this has already been asked in other topics. I couldn’t find it, but I would guess it’s a common thing to handle.
Let’s ...
New
Hello,
When writing libraries it is often useful to define behaviours for library users to implement.
In general, those behaviour callb...
New
I found How can I add a custom header to my error pages?, which showed me Plug.ErrorHandler — Plug v1.18.1.
The general advice is to kee...
New
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
New
Hello,
By default Phoenix will generate this on a new project:
# def render("500.json", _assigns) do
# %{errors: %{detail: "Internal ...
New
I’m experimenting with handling custom errors in Phoenix.
I’ve defined a custom error, MyApp.NotFoundError which implements Plug.Excepti...
New
This Week's Trending
This Month'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
This Year's Trending
Announcing ErrorTracker, an Elixir-based built-in error tracking solution.
Features
Basic, free, built-in error tracking solution. Trac...
New
Hello,
When writing libraries it is often useful to define behaviours for library users to implement.
In general, those behaviour callb...
New
First, sorry if this has already been asked in other topics. I couldn’t find it, but I would guess it’s a common thing to handle.
Let’s ...
New
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
New
I found How can I add a custom header to my error pages?, which showed me Plug.ErrorHandler — Plug v1.18.1.
The general advice is to kee...
New
Hi,
I’m currently in the process of rewriting our React app to LiveView. So far, everything is working well, but I’ve run into an issue....
New
Hi everyone,
I’ve been implementing RFC 9457 (Problem Details for HTTP APIs) in a Phoenix API project and wanted to share the pattern an...
New
We recently had an authentification problem with an external service, and it went unnoticed, because we returned the clients return value...
New
Last Three Year's Trending
In my total experience with LiveView, something that’s either a matter or personal ignorance or just problematic with how it works is gen...
New
Hello,
I’m excited to introduce DiscoLog, a logging service and error tracking solution for Elixir that uses a Discord server as its bac...
New
I’m using an adjacency list to store a hierarchy of categories. There can be many root categories each with many children/descendants.
d...
New
Hello! I have a hidden input and I’m using buttons to set it’s value. The default value for this field is nil. If a user doesn’t select o...
New
Hi everyone,
I have implemented a file upload with live view.
I follow pretty much the basics, except of having a custom upload-writer....
New
Does a local error tracking/notification library exist? I’m looking for one that will handle local errors (preferably via sasl as well as...
New
:castle: Tower is an Elixir library that provides a standard interface for Exception Tracking and Reporting, agnostic/neutral to which se...
New
I have been using Django before this. Out-of-box, Django emails the admins in case of any errors. The email contain the full traceback al...
New
We’re in the process of adding additional error logging for unhandled exceptions in a Phoenix application. One of the issues we’re experi...
New
I am using AshAuthentication and exposing some of its derived functions to my GraphQL API in a similar fashion to the discussions here.
...
New
I’ve been using generic actions lately but when they need to return {:error, whatever} things go a bit haywire. Remembering something abo...
New
Some context to avoid the XY Problem: I’m trying to expose some state which lives in an external API as a resource field.
Let’s say I ha...
New
Hello,
By default Phoenix will generate this on a new project:
# def render("500.json", _assigns) do
# %{errors: %{detail: "Internal ...
New
The {:error, _} is quite common and used everywhere, but what this is telling me is that an error happened, and nothing more. Errors usua...
New
I’m experimenting with handling custom errors in Phoenix.
I’ve defined a custom error, MyApp.NotFoundError which implements Plug.Excepti...
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
ErrorView which is used to handle errors doesn’t provide conn or stuff like that. Is there a way to attach layout anyway? Showing 404 err...
New
I’m looking into returning JSON errors from an API app. I know the specs dictate you must always return HTML on certain error codes but I...
New
Hi everyone,
I am trying to use Ecto.insert, and i have the following error :
[error] #PID<0.416.0> running GORprojectWeb.Endpoin...
New
Solution is a library to help you with working with ok/error-tuples in case and with-expressions by exposing special matching macros, as ...
New
I’m struggling with the fact that I don’t see stack trace in my production app log.
I’m getting 500 Internal Server Error response.
I t...
New
In a with case, with many operations, how can i individually handle errors?
New
Hey Devs,
I have been using Oban — Oban v2.5.0 (hexdocs.pm) in one of my phoenix application. My requirement is like when job fails afte...
New
So I kind of knew of this behavior and I stumbled upon it before but actually I am not sure what is the best way to solve / debug the iss...
New
I have some code that allows me to run a series of functions. I currently surround the execution itself by a try-catch because I don’t wa...
New
What happens: User opens LiveView page and clicks a button. LiveView handle_event calls a function that crashes. LiveView restarts. User ...
New
Hello.
I’m a beginner programmer from Japan.
I’m in trouble of handling error…
auth_controller.ex
def signup(conn, params) do
url...
New
Hi there :wave: !
This week at CodeBEAM I had a chance to meet an amazing crowd and participate in some interesting conversations. One o...
New
Function:
def delete_single_record(table_name, key, identifier) do
Repo.transaction(fn ->
selected_record =
from(record in tabl...
New
I’m implementing a controller that schedules a background job and returns.
The job itself is implemented as a GenServer Foo.
I wanted t...
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
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







