Latest #error-handling Threads Top

lud
Hello, When writing libraries it is often useful to define behaviours for library users to implement. In general, those behaviour callb...
New
dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
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
franzin
Hello everyone! I hope you’re all doing well. I’m new to the world of Elixir, and recently I decided to create an SDK (I’ll share more d...
New
krishna_vaguelyright
How to handle errors centrally? In my local instance, it throws the error with proper error codes. On prod deployed to fly, it just thro...
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
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
kuon
When a function doesn’t match, for example: |> Multi.update(:add_something, fn %{required: obj} -> ... end) I...
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

This Week's Trending Top

This Month's Trending Top

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
dogweather
In Ecto programming, could this be described as an anti-pattern? # Database operation Repo.some_operation(...) rescue error -> ...
New
lud
Hello, When writing libraries it is often useful to define behaviours for library users to implement. In general, those behaviour callb...
New

Last Three Year's Trending Top

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
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
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
grzuy
:castle: Tower is an Elixir library that provides a common interface for Error Tracking and Reporting, agnostic to which services or dest...
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
jvoegele
Announcing Errata, an Elixir library for consistent and structured error handling. Errata is an Elixir library that promotes a consisten...
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
krishna_vaguelyright
How to handle errors centrally? In my local instance, it throws the error with proper error codes. On prod deployed to fly, it just thro...
New
franzin
Hello everyone! I hope you’re all doing well. I’m new to the world of Elixir, and recently I decided to create an SDK (I’ll share more d...
New
kuon
When a function doesn’t match, for example: |> Multi.update(:add_something, fn %{required: obj} -> ... end) I...
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
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
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
pmjoe
In a with case, with many operations, how can i individually handle errors?
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
Maxximiliann
Function: def delete_single_record(table_name, key, identifier) do Repo.transaction(fn -> selected_record = from(record in tabl...
New
Qqwy
Today I found myself writing the following piece of code source in context: def from_list(other_users_json_list) do other_user...
New
sc4224
Hi not sure what the best practice for handling errors are in elixir. Is there an example of how I can make a universal error handler to ...
New
purplesquirrel
I have a function work that get’s a record, requests data from a remote api and updates that record or returns some error tuples. It’s p...
New
Fl4m3Ph03n1x
Background I have a simple Plug router with a PUT endpoint that receives a JSON body. To parse it I am using Plug.Parsers. Problem The P...
New
gabrielmessager
I’m quite new to Elixir and Absinthe and I’m stuck trying to create a middleware to handle any kind of error when querying or mutating da...
New
dogweather
I’m parsing input, returning the successfully parsing items, and logging the parse errors. (In this app, this is the behavior I want: con...
New
egze
Our app makes multiple API calls with Mojito in a LiveView. Sometimes the requests timeout (or maybe some other error) and it crashes the...
New
sezaru
Hello everyone, How do you handle error logging with parts of your system that will trigger errors simply because you are using the erla...
New
benhoven
Hi Everybody ;-), Based on my understanding the proper Elixir way is to implement functions that return :ok or :error instead of raise e...
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