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
Last Three Year's Trending
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
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
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
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
Hi, in some situations I need to broadcast a message from genserver, need to say it’s error, what kind of error, and also return the elem...
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:
Sub Categories:
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







