Latest #error-handling Threads Top

jvoegele
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
marcuslankenau
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
eagle-head
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
NobbZ
We recently had an authentification problem with an external service, and it went unnoticed, because we returned the clients return value...
New
jberling
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
lud
Hello, When writing libraries it is often useful to define behaviours for library users to implement. In general, those behaviour callb...
New
rhcarvalho
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
dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
New
lud
Hello, By default Phoenix will generate this on a new project: # def render("500.json", _assigns) do # %{errors: %{detail: "Internal ...
New
adamu
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 Top

This Month's Trending Top

jvoegele
Announcing Errata, an Elixir library for consistent and structured error handling. Errata is an Elixir library that promotes a consisten...
New
jvoegele
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 Top

belaustegui
Announcing ErrorTracker, an Elixir-based built-in error tracking solution. Features Basic, free, built-in error tracking solution. Trac...
New
lud
Hello, When writing libraries it is often useful to define behaviours for library users to implement. In general, those behaviour callb...
New
jberling
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
dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
New
rhcarvalho
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
marcuslankenau
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
eagle-head
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
NobbZ
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 Top

binarypaladin
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
MRdotB
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
sharkmyster
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
willc0de4food
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
marschro
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
axelson
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
grzuy
:castle: Tower is an Elixir library that provides a standard interface for Exception Tracking and Reporting, agnostic/neutral to which se...
New
imhimansu28
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
japhib
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
zorn
I am using AshAuthentication and exposing some of its derived functions to my GraphQL API in a similar fashion to the discussions here. ...
New
spacebat
I’ve been using generic actions lately but when they need to return {:error, whatever} things go a bit haywire. Remembering something abo...
New
rbino
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
lud
Hello, By default Phoenix will generate this on a new project: # def render("500.json", _assigns) do # %{errors: %{detail: "Internal ...
New
pmjoe
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
adamu
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 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
thousandsofthem
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
dimitarvp
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
Shenrak
Hi everyone, I am trying to use Ecto.insert, and i have the following error : [error] #PID<0.416.0> running GORprojectWeb.Endpoin...
New
Qqwy
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
kif
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
pmjoe
In a with case, with many operations, how can i individually handle errors?
New
pavancse17
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
hubertlepicki
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
venkatd
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
Athunnea
What happens: User opens LiveView page and clicks a button. LiveView handle_event calls a function that crashes. LiveView restarts. User ...
New
Papillon6814
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
RudManusachi
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
Maxximiliann
Function: def delete_single_record(table_name, key, identifier) do Repo.transaction(fn -> selected_record = from(record in tabl...
New
marcin
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement