#error handling

[ follow ]
JavaScript
fromInfoWorld
1 month ago

Rust team warns of WebAssembly change

Undefined symbols in WebAssembly can lead to unexpected behavior and errors, necessitating better diagnostics for developers.
Artificial intelligence
fromMedium
4 months ago

Agent-Ready APIs: The Foundation of Scalable Agentic AI

Agentic AI exposes and amplifies API weaknesses, requiring APIs designed for autonomous agents to prevent failures in multi-step workflows.
Node JS
fromThe Code Barbarian
5 months ago

Mongoose 9.0: Async Stack Traces, Cleaner Middleware, Stricter TypeScript

Mongoose 9 enables real async stack traces and fully async middleware, improving debuggability by removing callback-based APIs.
Web development
fromLogRocket Blog
5 months ago

Error boundaries are broken - signals can fix them - LogRocket Blog

Signals provide a reactive, component-tree-independent mechanism for consistent error handling across async and background operations, overcoming error boundaries' render-time limitations.
#python
#javascript
Node JS
fromBomh
11 months ago

JS Dark Arts: Abusing prototypes and the Result type

Extending all functions with a 'try' method can help handle errors by converting returned values to a Result type.
Node JS
fromallthingssmitty.com
11 months ago

Write more reliable JavaScript with optional chaining - Matt Smith

Optional chaining (?.) simplifies accessing nested properties in JavaScript objects, reducing error risk and improving code readability.
Software development
fromMedium
7 months ago

Agents Everywhere: Building, Running, and Testing Without Surprises

Separate runtime, errors, input, and output using Agent[F, E, I, O] to make logic runtime-agnostic, testable, and extensible.
fromTypelevel
8 months ago

Custom Error Types Using Cats Effect and MTL

One of the most famous and longstanding limitations of the Cats Effect IO type (and the Cats generic typeclasses) is the fact that the only available error channel is Throwable. This stands in contrast to bifunctor or polyfunctor techniques, which add a typed error channel within the monad itself. You can see this easily in type signatures: IO[String] indicates an IO which returns a String or may produce a Throwable error ( Future[String] is directly analogous).
JavaScript
fromjsdevspace.substack.com
8 months ago

Promise.try for Unified Sync and Async Error Handling

Promise.try provides a unified, synchronous-first way to call sync or async code and consistently convert throws or returns into Promises for predictable error handling.
fromMedium
9 months ago

Why Scala Made Me Stop Throwing Exceptions

Scala's Try Monad wraps a function; on success it returns Success and if it throws, it results in a Failure, promoting safer functional programming approaches.
Scala
fromHackernoon
9 months ago

Here's How You Can Build Your Own Markdown Parser: Part 2 - How to Read File From the Command Line | HackerNoon

This program implements a command-line interface that accepts a markdown file as a command-line argument, reads its content, and prints the entire content to the terminal.
Software development
Artificial intelligence
fromArs Technica
9 months ago

Two major AI coding tools wiped out user data after making cascading mistakes

Replit's AI fabricated data, generated incorrect outputs, ignored safety instructions, and deleted a database containing valuable executive records.
Python
fromRealpython
10 months ago

How to Debug Common Python Errors - Real Python

Debugging involves identifying and resolving code errors systematically using techniques like breakpoints and reading tracebacks.
Software development
fromHackernoon
1 year ago

How to Fix Sqoop Not Found and ClassNotFound in DolphinScheduler | HackerNoon

Integrating DolphinScheduler with Sqoop enhances data synchronization but can lead to common setup errors.
fromInfoWorld
10 months ago

Meet Zig: The modern alternative to C

Zig is a "close to the metal" language in that it allows developers to work directly with system memory, a requirement for writing code that can be maximally optimized to its task.
Software development
Tech industry
fromIT Pro
11 months ago

Google pins weekend outage on "unexercised" feature

Google Cloud experienced a major outage due to untested features, promising improved communication and testing procedures moving forward.
fromNew Relic
11 months ago

How to troubleshoot common NGINX errors

NGINX errors can severely impact web server performance and user experience, making it critical for administrators to understand and troubleshoot these issues.
Web development
Relationships
fromHackernoon
11 months ago

Misusing HTTP Status Codes Wrecks Your API Monitoring and Client Logic | HackerNoon

Returning a success status code regardless of application-level errors confuses API consumers.
React
fromHackernoon
1 year ago

Mastering Asynchronous JavaScript Callbacks, Promises, and Async, Await for Cleaner React Components | HackerNoon

Asynchronous JavaScript ensures a smooth UI experience in React by effectively managing data fetching and user interactions.
fromRubyflow
11 months ago
Ruby on Rails

Struggling with error handling in your Ruby apps?

Excessive use of `rescue` can make debugging difficult and hide critical bugs.
[ Load more ]