Latest #error-handling Threads 
Hello,
When writing libraries it is often useful to define behaviours for library users to implement.
In general, those behaviour callb...
New
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
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
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
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
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
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
When a function doesn’t match, for example:
|> Multi.update(:add_something, fn %{required: obj} ->
...
end)
I...
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
This Week's Trending
This Month's Trending
This Year's Trending
Announcing ErrorTracker, an Elixir-based built-in error tracking solution.
Features
Basic, free, built-in error tracking solution. Trac...
New
In Ecto programming, could this be described as an anti-pattern?
# Database operation
Repo.some_operation(...)
rescue
error ->
...
New
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
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
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
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
:castle: Tower is an Elixir library that provides a common interface for Error Tracking and Reporting, agnostic to which services or dest...
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
Announcing Errata, an Elixir library for consistent and structured error handling.
Errata is an Elixir library that promotes a consisten...
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
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
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
When a function doesn’t match, for example:
|> Multi.update(:add_something, fn %{required: obj} ->
...
end)
I...
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’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
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
In a with case, with many operations, how can i individually handle errors?
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
Function:
def delete_single_record(table_name, key, identifier) do
Repo.transaction(fn ->
selected_record =
from(record in tabl...
New
Today I found myself writing the following piece of code source in context:
def from_list(other_users_json_list) do
other_user...
New
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
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
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
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
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
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
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
Hi Everybody ;-),
Based on my understanding the proper Elixir way is to implement functions that return :ok or :error instead of raise e...
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







