#error-handling

[ follow ]
#javascript
#nginx
fromHackernoon
1 week ago

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

Returning a 200 OK status code when application-level errors occur misleads API consumers, complicating error handling and violating the expected behavior of HTTP standards.
Relationships
fromHackernoon
3 weeks ago

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

Asynchronous JavaScript is critical in React applications to efficiently manage data fetching and user interactions without freezing the UI, ensuring a smooth user experience.
React
fromRubyflow
2 weeks ago

Struggling with error handling in your Ruby apps?

Overusing `rescue` in Ruby can obscure critical errors, leading to code that is difficult to debug and maintain. This practice often results in hiding serious bugs that could impact application stability.
fromInfoWorld
11 months ago

5 ways to use JavaScript promises

Promises are a central mechanism for handling asynchronous code in JavaScript, widely utilized in libraries and frameworks to manage results of actions effectively.
Node JS
fromSitepoint
1 month ago

Why Your Automation Needs AI Decision-Making (And How Wordware Delivers) - SitePoint

Traditional automation tools excel at simple tasks but struggle with complex workflows requiring contextual understanding.
Artificial intelligence
#python
Mobile UX
fromPiccalilli
1 month ago

How to write error messages that actually help users rather than frustrate them

User error handling is often neglected in design, focusing instead on positive experiences.
Effective error messages guide users through problems rather than leaving them feeling lost.
fromTheregister
1 month ago

Developer scored huge own goal by deleting football data

Pete explained how the data for football matches, including attendance, was stored in a straightforward MySQL database, which he updated through a Perl program.
Web development
fromHackernoon
2 months ago

Excel DAYS Function Explained: Calculating Date Differences Between Two Dates! | HackerNoon

The DAYS function in Excel calculates the number of days between two dates, returning a positive or negative value based on the order of those dates.
Exercise
fromHackernoon
1 year ago

How Transaction Order Finality Drives Blockchain State in Layer 2 Systems | HackerNoon

The main contribution of this paper is that transaction order finality should be viewed as the key for determining system state. Efficient representation is just an optimization.
Cryptocurrency
frommedium.com
2 months ago

Spark Scala Exercise 24: Error Handling and Logging in SparkBuild Safe, Auditable ETL Pipelines

"In this exercise, you'll build a defensive Spark ETL pipeline that handles various data issues, ensuring robust processing and reliability. The focus will be on preventing silent failures."
Scala
fromInfoWorld
2 months ago

How to use guard clauses in C#

The use of guard clauses allows developers to handle null reference exceptions confidently by validating inputs upfront, thus avoiding runtime crashes and ensuring smoother application performance.
Java
fromHackernoon
2 years ago

Refactoring 025 - Decompose Regular Expressions | HackerNoon

"To effectively validate complex structures like URLs, it’s essential to break down the regex into smaller, manageable components that can be tested individually for accuracy."
JavaScript
fromHackernoon
3 months ago

Swift init(), Once and for All | HackerNoon

Initialization in Swift is the process of preparing instances of classes, structures, or enumerations. Initializers are special methods called to create new instances, setting initial values for stored properties.
Bootstrapping
fromwww.sitepoint.com
6 months ago

About sending emails

The SMTP authentication error indicates that the credentials provided were incorrect or that the authentication method selected was not accepted by the server.
JavaScript
#scala
fromInfoWorld
8 months ago
JavaScript

Deno 2.0 moves to release candidate stage

Deno 2.0 enhances dependency management and error handling, streamlining development processes for better efficiency and modern workflows.
fromCodeProject
9 months ago

How to Handle Cyclic Dependency Between Beans in Spring?

A cyclic dependency occurs when two or more beans in Spring depend on each other, creating a cycle that can lead to initialization errors.
JavaScript
[ Load more ]