Tagged articles
345 articles
Page 3 of 4
网易UEDC
网易UEDC
Aug 26, 2022 · Product Management

How Structured Product Thinking Solves Complex Error Messaging Challenges

This article explores how applying product thinking, structured analysis, and system design can transform chaotic error‑message handling into a clear, maintainable process, offering practical tools for defining, standardizing, and dynamically configuring error prompts across multiple platforms and scenarios.

Error HandlingSystem DesignUX
0 likes · 12 min read
How Structured Product Thinking Solves Complex Error Messaging Challenges
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Aug 5, 2022 · Backend Development

Best Practices for Designing a Clean and Robust Backend Project

This article shares practical guidelines for new backend projects, covering database design, module organization, scheduled task management, meaningful naming and comments, code robustness, clear error messages, and comprehensive self‑testing to help developers build maintainable and scalable systems.

Database designError HandlingModule Organization
0 likes · 12 min read
Best Practices for Designing a Clean and Robust Backend Project
Cognitive Technology Team
Cognitive Technology Team
Jul 2, 2022 · Fundamentals

Defensive Programming Principles and Practices

The article outlines defensive programming concepts, emphasizing input validation, error handling, resource management, isolation techniques, and design considerations such as thread safety, cache strategies, and interface versioning to build robust and resilient software systems.

Error HandlingResource ManagementSoftware Robustness
0 likes · 4 min read
Defensive Programming Principles and Practices
Ctrip Technology
Ctrip Technology
Jun 24, 2022 · Backend Development

Best Practices and Lessons Learned from Implementing GraphQL BFF Services at Ctrip

This article shares Ctrip's experience building GraphQL‑based Backend‑for‑Frontend services, covering the technology stack, data‑graph modeling, error handling with union types, non‑null field usage, performance optimizations, engineering practices such as data‑loader batching, virtual paths, monitoring, and testing.

ApolloBFFError Handling
0 likes · 21 min read
Best Practices and Lessons Learned from Implementing GraphQL BFF Services at Ctrip
Python Programming Learning Circle
Python Programming Learning Circle
Jun 22, 2022 · Fundamentals

Common Python Errors and How to Fix Them

This article explains the most frequent Python runtime and syntax errors—including IndentationError, TabError, SyntaxError, NameError, IndexError, KeyError, TypeError, and AttributeError—provides clear examples of each mistake, shows the corresponding error messages, and offers step‑by‑step corrections to help beginners debug their code effectively.

DebuggingError HandlingIndentationError
0 likes · 7 min read
Common Python Errors and How to Fix Them
High Availability Architecture
High Availability Architecture
May 13, 2022 · Backend Development

Error Handling and Errgroup Usage in Go

This article explains Go's built-in error interface, distinguishes errors from exceptions, compares three common error-handling patterns, discusses wrapping errors with packages like pkg/errors, and demonstrates centralized error handling using errgroup, including usage examples and best-practice recommendations for backend Go development.

BackendError HandlingGo
0 likes · 17 min read
Error Handling and Errgroup Usage in Go
Tencent Cloud Developer
Tencent Cloud Developer
May 9, 2022 · Backend Development

Error Handling and ErrGroup Patterns in Go

The article explains Go’s built‑in error interface, distinguishes errors, exceptions and panics, presents three handling patterns—classic returns, stateful objects, and functional deferred execution—shows how to wrap errors for context, and demonstrates using the errgroup concurrency primitive (including an extended version) for safe parallel processing.

Backend DevelopmentError HandlingGo
0 likes · 15 min read
Error Handling and ErrGroup Patterns in Go
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 7, 2022 · Frontend Development

Understanding Vue.js Error Handling and Source Code Analysis

This article explains Vue's error handling mechanisms—including global errorHandler, component-level errorCaptured, and the underlying source code functions handleError, invokeWithErrorHandling, globalHandleError, and logError—through detailed code examples, execution flow diagrams, and practical interview scenarios.

Error HandlingJavaScriptVue.js
0 likes · 15 min read
Understanding Vue.js Error Handling and Source Code Analysis
DaTaobao Tech
DaTaobao Tech
Mar 9, 2022 · Cloud Native

Distributed System Consistency Handling

The article explains how distributed systems maintain request consistency by employing idempotent IDs, state‑machine tracking, snapshot recording, and coordinated error‑handling strategies—including retries, queries, and messaging—while also addressing read/write separation limits, reconciliation, and disaster‑recovery measures to prevent duplicate actions and state divergence.

ConsistencyDistributed SystemsError Handling
0 likes · 18 min read
Distributed System Consistency Handling
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 28, 2022 · Frontend Development

Mastering Defensive Programming in Front‑end Development: Prevent, Correct, Guide

This article explains defensive programming for front‑end developers, covering its definition, the three pillars of prevention, correction and direction, common UI and code crisis points, detailed code‑review checklists, CSS defensive rules, and responsive design considerations to build resilient, user‑friendly applications.

CSS best practicesCode reviewError Handling
0 likes · 30 min read
Mastering Defensive Programming in Front‑end Development: Prevent, Correct, Guide
21CTO
21CTO
Feb 25, 2022 · Fundamentals

Elon Musk on Error Messages, Rust, and Why C Still Rules on Specialized Hardware

Elon Musk discusses the importance of clear error messages, praises Rust's compiler advances, and argues that for peak performance on dedicated hardware, a custom‑compiled C solution remains essential, while his companies also rely on C++ and Python.

C languageCompiler OptimizationError Handling
0 likes · 2 min read
Elon Musk on Error Messages, Rust, and Why C Still Rules on Specialized Hardware
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 23, 2022 · Backend Development

Go Error Handling Practices in ZuanZuan Operations: Usage and Management

This article explains how ZuanZuan's operations team applies Go's error handling mechanisms—including error values, panic/recover, sentinel errors, and custom error types—along with practical guidelines and code examples to improve reliability and maintainability of production services.

Backend DevelopmentError HandlingGo
0 likes · 13 min read
Go Error Handling Practices in ZuanZuan Operations: Usage and Management
Java Interview Crash Guide
Java Interview Crash Guide
Feb 23, 2022 · Backend Development

Designing Clear API Return Codes: Lessons from HTTP Status Codes

This article explains why consistent API return‑code design matters, illustrates how HTTP status code segmentation can inspire better error codes, and shows how to pair codes with customizable messages for both developers and end‑users to improve communication and maintenance efficiency.

Error HandlingHTTP status codesapi-design
0 likes · 4 min read
Designing Clear API Return Codes: Lessons from HTTP Status Codes
Tencent Cloud Developer
Tencent Cloud Developer
Feb 8, 2022 · Fundamentals

From C++ to Rust: Error Handling and Lifetimes

The article, the second in the “From C++ to Rust” series, explains how Rust replaces C++’s return‑value and exception error handling with the Result type, the ? operator, and the thiserror/anyhow crates, and introduces Rust’s lifetime system, borrow checker, elision rules, variance, and common misconceptions for developers transitioning from C++.

C++Error HandlingLifetimes
0 likes · 19 min read
From C++ to Rust: Error Handling and Lifetimes
Airbnb Technology Team
Airbnb Technology Team
Jan 27, 2022 · Mobile Development

Architecture of Airbnb's Automated Testing Framework (Part 5)

Part 5 of Airbnb’s Android testing series details the custom IntegrationTestActivity architecture that drives fragment‑based screenshots and interactions, explains how idle state is detected by polling Looper queues, and describes a global exception handler that adds contextual test information to aid rapid debugging.

AndroidAutomated TestingError Handling
0 likes · 13 min read
Architecture of Airbnb's Automated Testing Framework (Part 5)
IT Architects Alliance
IT Architects Alliance
Jan 25, 2022 · Backend Development

Designing Clear API Return Codes and Messages for Backend Development

This article explains how to design consistent API return codes and messages, using HTTP status code concepts, segmenting error codes, providing human‑readable messages, enabling personalized user messages, and centralizing handling to improve communication, debugging, and monitoring in backend development.

APIBackend DevelopmentError Handling
0 likes · 4 min read
Designing Clear API Return Codes and Messages for Backend Development
Python Programming Learning Circle
Python Programming Learning Circle
Jan 20, 2022 · Fundamentals

PrettyErrors: Beautify Python Tracebacks for Clearer Debugging

PrettyErrors is a lightweight Python library that, with a single import, transforms raw exception tracebacks into neatly formatted, color‑coded outputs, making error locations and causes instantly recognizable, and offers configurable options for customizing colors, filenames, and enabling global usage via environment variables.

Code FormattingError Handlingprettyerrors
0 likes · 4 min read
PrettyErrors: Beautify Python Tracebacks for Clearer Debugging
Code DAO
Code DAO
Jan 18, 2022 · Backend Development

Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)

This tutorial walks through adding pagination and flexible where‑filters to the User List interface, configuring gqlgen extensions, handling GraphQL errors, wrapping mutations in transactions, and building unit, integration, and end‑to‑end tests for a Go clean‑architecture project using Ent and gqlgen.

Clean ArchitectureError HandlingGo
0 likes · 23 min read
Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)
政采云技术
政采云技术
Dec 2, 2021 · Backend Development

Understanding Go's Error Handling: Design, Best Practices, and Common Pitfalls

This article explains the design of Go's error type, why errors are returned as pointers, compares error handling across languages, discusses panic, wild goroutines, sentinel and custom errors, and presents practical guidelines such as processing errors once, eliminating redundant checks, and wrapping errors for richer context.

BackendError Handlingbest practices
0 likes · 13 min read
Understanding Go's Error Handling: Design, Best Practices, and Common Pitfalls
Wukong Talks Architecture
Wukong Talks Architecture
Nov 1, 2021 · Fundamentals

Go Language Overview: Features, Concurrency, Types, and Development Tools

This article presents an interview‑style overview of the Go programming language, covering its distinguishing features, typical use cases, concurrency model with goroutines and channels, basic syntax, data types, variable and constant declarations, error handling, and recommended development tools, all illustrated with code examples.

ChannelsError HandlingGo
0 likes · 13 min read
Go Language Overview: Features, Concurrency, Types, and Development Tools
Baidu Geek Talk
Baidu Geek Talk
Nov 1, 2021 · Frontend Development

How Baidu’s Ad Hosting Team Built a Scalable Front‑End Exception Monitoring System

This article shares Baidu’s ad‑hosting team experience in designing, collecting, alerting, investigating, and remediating front‑end exceptions—covering generic and business‑specific error tracking, data protocols, monitoring strategies, alert tuning, and practical governance to improve user experience and ad performance.

AlertingBaiduError Handling
0 likes · 25 min read
How Baidu’s Ad Hosting Team Built a Scalable Front‑End Exception Monitoring System
21CTO
21CTO
Oct 29, 2021 · Fundamentals

6 Exciting Python 3.10 Features That Boost Your Coding Experience

Python 3.10 introduces six standout enhancements—including clearer error traces, structural pattern matching, a new type union operator, stricter zip, automatic text encoding warnings, and async iteration utilities—each designed to streamline debugging, improve code readability, and expand the language’s capabilities for developers and educators alike.

Error HandlingNew FeaturesPython
0 likes · 7 min read
6 Exciting Python 3.10 Features That Boost Your Coding Experience
Laravel Tech Community
Laravel Tech Community
Oct 27, 2021 · Backend Development

Designing Consistent API Return Codes and Messages

This article explains how to design clear, consistent API return codes and accompanying messages by learning from HTTP status code segmentation, defining code‑message pairs, customizing user‑friendly messages, and centralizing handling to improve communication, monitoring, and maintenance in backend development.

DesignError Handlingreturn codes
0 likes · 3 min read
Designing Consistent API Return Codes and Messages
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2021 · Fundamentals

6 Exciting Python 3.10 Features That Boost Your Coding Experience

Python 3.10 introduces clearer error tracing, structured pattern matching, a new type union operator, stricter zip, automatic text encoding warnings, and enhanced async iteration, offering developers more readable code, faster debugging, and modern programming conveniences.

Error HandlingNew FeaturesPython
0 likes · 7 min read
6 Exciting Python 3.10 Features That Boost Your Coding Experience
phodal
phodal
Oct 25, 2021 · User Experience Design

Designing Developer-Friendly Error Messages: Principles and Real-World Examples

The article examines how developers typically cope with errors, argues for richer error messages that aid troubleshooting, and showcases effective error‑handling designs through Rust’s compiler diagnostics and the Scoop installer’s automated issue system, while proposing four key principles and several practical patterns for presenting errors.

CLIDeveloper ExperienceError Handling
0 likes · 7 min read
Designing Developer-Friendly Error Messages: Principles and Real-World Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 19, 2021 · Backend Development

How Spring Boot Handles Errors: From /error to Custom Responses

This article explains how Spring Boot 2.4.11 processes exceptions, routes them to the default /error endpoint, and uses BasicErrorController along with ContentNegotiatingViewResolver and StaticView to generate HTML or JSON error responses based on the Accept header, including code examples and configuration details.

BackendError HandlingException
0 likes · 10 min read
How Spring Boot Handles Errors: From /error to Custom Responses
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 16, 2021 · Fundamentals

Master Python Functions: From Basics to Advanced Techniques

This article explores Python functions in depth, covering definitions, parameters, namespaces, multiple return values, lambda expressions, currying, generators, itertools utilities, and comprehensive error handling, providing practical code examples for data analysis and scripting.

Error HandlingGeneratorsLambda
0 likes · 17 min read
Master Python Functions: From Basics to Advanced Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2021 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot registers custom error pages with its embedded Tomcat container, covering default HTML/JSON error responses, the underlying auto‑configuration classes, BeanPostProcessor registration, and the BasicErrorController that serves the default /error endpoint.

Backend DevelopmentError HandlingJava
0 likes · 11 min read
How Spring Boot Registers Custom Error Pages with Tomcat
MaGe Linux Operations
MaGe Linux Operations
Sep 10, 2021 · Backend Development

10 Common Go Mistakes That Kill Performance and How to Fix Them

This article lists ten typical Go programming pitfalls—from undefined enum values and misleading benchmarks to pointer misuse, slice initialization, error handling, context misuse, and goroutine closures—explaining why they hurt performance or correctness and offering concrete, idiomatic solutions.

Error HandlingGobest practices
0 likes · 17 min read
10 Common Go Mistakes That Kill Performance and How to Fix Them
Big Data Technology & Architecture
Big Data Technology & Architecture
Aug 5, 2021 · Big Data

Common Kafka Errors and Their Solutions

This article compiles a comprehensive list of frequent Kafka errors—including UnknownTopicOrPartitionException, LEADER_NOT_AVAILABLE, TimeoutException, and configuration issues—explaining their causes, providing detailed analysis, and offering step‑by‑step troubleshooting commands and configuration adjustments to resolve each problem.

ConfigurationError Handlingtroubleshooting
0 likes · 33 min read
Common Kafka Errors and Their Solutions
Programmer DD
Programmer DD
Jul 31, 2021 · Backend Development

Mastering API Design: Standards, Practices, and Real‑World Guidelines

This comprehensive guide explains why clear API specifications are essential, compares RESTful and RPC styles, outlines OpenAPI and Google design principles, and provides practical rules for versioning, URL design, HTTP methods, status codes, authentication, rate limiting, error handling, naming conventions, and documentation to help developers build robust, maintainable services.

Error HandlingHTTP methodsOpenAPI
0 likes · 25 min read
Mastering API Design: Standards, Practices, and Real‑World Guidelines
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 13, 2021 · Backend Development

Avoid Java Pitfalls: Error Codes, Stream toMap, Leap Year Bugs & More

The announcement introduces Alibaba Cloud's free Java Development Handbook (Taishan Edition), highlighting practical Java pitfalls such as Stream toMap issues, unified error‑code design, leap‑year bugs, SQL aliasing, code formatting, and ternary‑operator NPEs, and invites developers to download the ebook for deeper insights.

Error HandlingJava
0 likes · 7 min read
Avoid Java Pitfalls: Error Codes, Stream toMap, Leap Year Bugs & More
Programmer DD
Programmer DD
Jul 6, 2021 · Frontend Development

Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript

This article explains the async/await syntax, compares it with traditional Promise chains, and outlines six practical advantages—including conciseness, unified error handling, clearer conditional logic, easier intermediate value handling, better stack traces, and simpler debugging—illustrated with real JavaScript code examples.

DebuggingError HandlingJavaScript
0 likes · 9 min read
Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2021 · Operations

Why Simple Kafka Retries Fail and How to Build a Robust Message‑Failure Strategy

This article analyzes common Kafka consumer failure scenarios, explains why naïve retry‑topic or message‑skip approaches can break ordering and data consistency, and presents practical patterns—including error classification, in‑consumer backoff, hidden topics, and DLQ handling—to design resilient asynchronous microservice communication.

Dead Letter QueueError HandlingKafka
0 likes · 21 min read
Why Simple Kafka Retries Fail and How to Build a Robust Message‑Failure Strategy
JD Retail Technology
JD Retail Technology
May 25, 2021 · Mobile Development

Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques

This article describes how JD Mall’s order system migrated key iOS components to Swift, leveraging static dispatch, value‑type structures, protocol‑oriented design, error handling, guard statements, defer, lazy loading, and functional programming to improve performance, safety, and maintainability across mobile and macOS applications.

Error HandlingSwiftSwiftUI
0 likes · 16 min read
Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques
php Courses
php Courses
May 20, 2021 · Backend Development

How to Resolve the ThinkPHP Multi‑App “Index Class Not Found” Error

This guide explains why the ThinkPHP controller Index class may not be found in a multi‑app setup, lists common causes, and provides three step‑by‑step solutions—including installing the think‑multi‑app extension, adjusting configuration files, and using full‑path URLs—along with the necessary code changes.

BackendConfigurationError Handling
0 likes · 4 min read
How to Resolve the ThinkPHP Multi‑App “Index Class Not Found” Error
Top Architect
Top Architect
May 8, 2021 · Backend Development

Implementing a Global Exception Handler in Spring Boot

This article explains how to replace repetitive try‑catch blocks in Spring Boot applications with a unified global exception handling solution by defining a standard AjaxResult response, a custom BusinessException, an error enumeration, and a @RestControllerAdvice handler, enabling clean, extensible error management.

Backend DevelopmentError HandlingJava
0 likes · 5 min read
Implementing a Global Exception Handler in Spring Boot
macrozheng
macrozheng
May 7, 2021 · Backend Development

Customizing Spring Boot Error Handling for Non‑Controller Exceptions

This guide explains why Spring Boot’s default @ControllerAdvice cannot catch servlet‑level errors, introduces the ErrorPageFilter mechanism, and shows how to replace the BasicErrorController with a custom ExceptionController that rethrows errors for unified handling across the application.

BackendCustom ErrorControllerError Handling
0 likes · 7 min read
Customizing Spring Boot Error Handling for Non‑Controller Exceptions
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 27, 2021 · Frontend Development

Mastering React Error Boundaries: Build a Flexible Error‑Handling Wheel

This tutorial walks through why catching front‑end component errors is essential, demonstrates how to implement a custom React ErrorBoundary with flexible fallback options, reset logic, higher‑order component wrappers, and hooks, and provides complete TypeScript examples and best‑practice summaries.

Error HandlingErrorBoundaryHigher-Order Component
0 likes · 19 min read
Mastering React Error Boundaries: Build a Flexible Error‑Handling Wheel
dbaplus Community
dbaplus Community
Apr 14, 2021 · Big Data

Master Spark Performance: Key Tuning, Shuffle & Join Optimization

This guide compiles practical Spark tuning techniques, covering essential configuration parameters, programming best‑practices, detailed shuffle mechanics, and join optimization strategies, while also addressing common errors and mitigation steps, enabling developers to improve performance and resource utilization in large‑scale data processing jobs.

Big DataError HandlingJOIN optimization
0 likes · 25 min read
Master Spark Performance: Key Tuning, Shuffle & Join Optimization
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 7, 2021 · Fundamentals

Mastering Java Exceptions: From Basics to Best Practices

This article provides a comprehensive overview of Java's exception architecture, detailing the hierarchy of Throwable, Error, and Exception, distinguishing checked and unchecked exceptions, explaining key keywords, and offering best practices with code examples for effective error handling.

Checked ExceptionsError HandlingException Handling
0 likes · 32 min read
Mastering Java Exceptions: From Basics to Best Practices
ELab Team
ELab Team
Mar 25, 2021 · Frontend Development

Mastering Front-End Event Tracking: From Data Collection to Performance Metrics

This article explains front‑end event tracking fundamentals, compares passive, code‑based, and SDK solutions, outlines common event attributes and types, details performance data collection via the Performance API, describes error capture methods, and presents reliable data reporting techniques using Beacon and image fallbacks.

Data ReportingError HandlingPerformance Monitoring
0 likes · 20 min read
Mastering Front-End Event Tracking: From Data Collection to Performance Metrics
Java Backend Technology
Java Backend Technology
Mar 20, 2021 · Backend Development

Master Global Exception Handling in Spring Boot: Unified Error Responses

This article explains how to replace repetitive try‑catch blocks in Spring Boot with a unified global exception handler, introducing a standard AjaxResult wrapper, custom BusinessException, an error enumeration, and a @RestControllerAdvice that returns consistent JSON error responses across the application.

Error HandlingJavaSpring Boot
0 likes · 6 min read
Master Global Exception Handling in Spring Boot: Unified Error Responses
Open Source Linux
Open Source Linux
Mar 18, 2021 · Backend Development

How to Optimize Nginx for High Concurrency, Custom Errors, and Better Caching

This guide walks through customizing Nginx's 404 page, enabling the stub_status module to monitor server metrics, tuning worker processes and connection limits for higher concurrency, expanding client header buffers, and configuring static file caching to improve overall web performance.

Error Handlingcachingconcurrency
0 likes · 8 min read
How to Optimize Nginx for High Concurrency, Custom Errors, and Better Caching
php Courses
php Courses
Mar 5, 2021 · Backend Development

Integrating Whoops Error Handler into ThinkPHP6

This tutorial explains how to install the Whoops library via Composer and configure ThinkPHP6’s ExceptionHandle to replace the default error page with Whoops’ detailed, user‑friendly exception view, including code examples and a final verification.

BackendError HandlingException
0 likes · 3 min read
Integrating Whoops Error Handler into ThinkPHP6
Programmer DD
Programmer DD
Feb 27, 2021 · Backend Development

Why Generic API Error Messages Hurt Users and How to Handle Exceptions Properly

The article critiques returning vague third‑party API error messages, explains why swallowing exceptions and omitting stack traces make debugging hard, and advises providing user‑friendly messages and proper logging to improve reliability and maintainability of backend services.

Error Handlingapi-designexception logging
0 likes · 3 min read
Why Generic API Error Messages Hurt Users and How to Handle Exceptions Properly
Code Ape Tech Column
Code Ape Tech Column
Feb 25, 2021 · Fundamentals

What Starbucks Can Teach Us About Two-Phase Commit and Asynchronous Messaging

The article uses Starbucks' coffee‑ordering process to illustrate asynchronous order handling, correlation identifiers, exception‑handling strategies, two‑phase commit, and conversation patterns, showing how real‑world practices inform the design of reliable distributed messaging systems.

Error Handlingasynchronous messagingcorrelation
0 likes · 8 min read
What Starbucks Can Teach Us About Two-Phase Commit and Asynchronous Messaging
政采云技术
政采云技术
Feb 23, 2021 · Frontend Development

Capturing and Handling Frontend Exceptions

This article explains common frontend exceptions such as UI glitches, script errors, and network failures, classifies JavaScript error types, demonstrates handling techniques using try‑catch, finally, window.onerror, event listeners, Promise rejection handling, and framework‑specific solutions like React error boundaries, Vue errorHandler, and Axios interceptors.

Error HandlingReactaxios
0 likes · 18 min read
Capturing and Handling Frontend Exceptions
Top Architect
Top Architect
Feb 3, 2021 · Backend Development

Standardizing HTTP API Error Responses with RFC 7807 Problem Details

The article explains how the IETF's RFC 7807 standardizes HTTP API error responses by defining a common problem‑details format, describing its fields, JSON/XML examples, benefits for clients and servers, and practical steps for adopting it across various programming ecosystems.

APIBackendError Handling
0 likes · 12 min read
Standardizing HTTP API Error Responses with RFC 7807 Problem Details
Laravel Tech Community
Laravel Tech Community
Jan 28, 2021 · Backend Development

PHP intdiv() – Integer Division Function

The article explains PHP's intdiv() function, describing its syntax, parameters, return value, and providing multiple code examples that illustrate integer division results, edge‑case behavior with large integers, division by zero, and the resulting errors.

BackendError HandlingPHP8
0 likes · 2 min read
PHP intdiv() – Integer Division Function
Youzan Coder
Youzan Coder
Dec 30, 2020 · Operations

ERROR Log Governance and Monitoring Alerting Practice at Youzan

Youzan’s log‑governance guide uses a car‑dashboard analogy to show why precise ERROR logs and sensible alerts matter, defines INFO/WARN/ERROR levels, sets daily reduction targets, leverages top‑error analysis and water‑level monitoring, and ultimately cut daily ERROR entries from thousands to about one hundred while catching issues before incidents.

AlertingError HandlingLog Management
0 likes · 9 min read
ERROR Log Governance and Monitoring Alerting Practice at Youzan
Architects Research Society
Architects Research Society
Dec 8, 2020 · Backend Development

Using Apache Kafka with Spring Boot: Error Handling, Deserialization, Multi‑Listener, and Transactions

This article explains how to integrate Apache Kafka with Spring Boot, covering error recovery with SeekToCurrentErrorHandler, deserialization handling, domain‑object conversion, multiple listener routing, and transaction support, while providing complete code examples for each feature.

Apache KafkaError HandlingMessage Conversion
0 likes · 10 min read
Using Apache Kafka with Spring Boot: Error Handling, Deserialization, Multi‑Listener, and Transactions
MaGe Linux Operations
MaGe Linux Operations
Nov 6, 2020 · Fundamentals

Unlock Python List Index: Fast Lookup, Pitfalls, and Pro Tips

This article explains how to use Python's list index method to locate an element, details its full signature, performance considerations for large lists, ways to retrieve multiple matches, handling missing elements with exceptions, and useful tips like using the help function.

Error HandlingListPython
0 likes · 5 min read
Unlock Python List Index: Fast Lookup, Pitfalls, and Pro Tips
21CTO
21CTO
Oct 13, 2020 · Databases

Master Python‑MariaDB Integration: Connect, Query, and Manage Data Efficiently

This guide walks you through installing the MariaDB Python connector, establishing a secure connection, executing SELECT and INSERT statements, handling transactions and errors, and properly closing the connection, providing a complete workflow for Python developers working with MariaDB databases.

ConnectorError HandlingMariaDB
0 likes · 4 min read
Master Python‑MariaDB Integration: Connect, Query, and Manage Data Efficiently
Node Underground
Node Underground
Oct 12, 2020 · Fundamentals

TC39 Updates: Error Cause, Intl.DisplayNames, Import Assertions & More

The article reviews the latest TC39 meeting, detailing proposals that moved to higher stages—including Error Cause reaching Stage 4, Intl.DisplayNames enhancements, Import Assertions, .item() for indexables, class static blocks, resizable array buffers, Intl.Enumeration, double‑ended iterators, integer math extensions, standardized debug syntax, String.dedent, Intl.Locale, and DisplayNames v2—while outlining the criteria required for each stage transition.

ECMAScript proposalsError HandlingImport Assertions
0 likes · 19 min read
TC39 Updates: Error Cause, Intl.DisplayNames, Import Assertions & More
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 12, 2020 · Frontend Development

What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond

The TC39 meeting covered a range of ECMAScript proposals—including Error Cause, Intl.DisplayNames, .item() for indexables, Import Assertions, Class static initialization blocks, ResizableArrayBuffer, Intl.Enumeration, Double‑Ended Iterators, integer‑math extensions, Standardized Debug, String Dedent, Intl Locale and DisplayNames v2—detailing their stage‑gate requirements, example implementations, and impact on JavaScript development.

ECMAScript proposalsError HandlingJavaScript
0 likes · 18 min read
What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond
Programmer DD
Programmer DD
Sep 24, 2020 · Fundamentals

Mastering Java Exceptions: From Basics to Best Practices

This article provides a comprehensive guide to Java exception handling, covering the exception hierarchy, key keywords, common pitfalls, interview questions, and a set of best‑practice recommendations to write robust, maintainable Java code.

Error HandlingJavabest-practices
0 likes · 35 min read
Mastering Java Exceptions: From Basics to Best Practices
Sohu Tech Products
Sohu Tech Products
Sep 23, 2020 · Frontend Development

Understanding Errors and Exceptions in JavaScript

This article explains JavaScript error objects, their properties, common built‑in error types, how to create and throw custom errors, and demonstrates synchronous and asynchronous error handling techniques—including try/catch, generators, promises, timers, event listeners, and the onerror handler—complete with code examples.

Error HandlingExceptionsGenerators
0 likes · 15 min read
Understanding Errors and Exceptions in JavaScript
Laravel Tech Community
Laravel Tech Community
Jul 26, 2020 · Backend Development

Understanding PHP's feof() Function and Safe EOF Handling

This article explains PHP's feof() function, detailing its purpose, required handle parameter, return values, and provides two practical code examples—one demonstrating a safe EOF check with timeout and another showing how to handle missing files without entering infinite loops.

BackendError HandlingPHP
0 likes · 2 min read
Understanding PHP's feof() Function and Safe EOF Handling
DevOps Engineer
DevOps Engineer
Jun 22, 2020 · Operations

Controlling Shell Script Failure Behavior in Jenkins Pipelines

This guide explains how to prevent Jenkins shell steps from aborting on errors by using the +e option, appending || true, or custom failure handling commands, and provides four concrete examples with test results to illustrate each method.

Error HandlingJenkinsShell
0 likes · 6 min read
Controlling Shell Script Failure Behavior in Jenkins Pipelines
Python Programming Learning Circle
Python Programming Learning Circle
May 26, 2020 · Fundamentals

Python Error Handling and Debugging Techniques

This article explains common Python runtime errors, demonstrates how to read traceback information, introduces the try‑except‑finally construct, and covers practical debugging methods such as print/assert statements and the built‑in pdb module with example code snippets.

Error HandlingExceptiontry-except
0 likes · 6 min read
Python Error Handling and Debugging Techniques
Java Architecture Diary
Java Architecture Diary
May 25, 2020 · Cloud Native

Mastering Global Exception Handling in Spring Cloud Gateway

This article explains why traditional @ControllerAdvice fails in Spring Cloud Gateway, introduces the built‑in ExceptionHandlingWebHandler and DefaultErrorWebExceptionHandler, and shows how to override them with a custom GlobalExceptionConfiguration for robust reactive error handling.

Error HandlingJavaSpring Boot
0 likes · 5 min read
Mastering Global Exception Handling in Spring Cloud Gateway
FunTester
FunTester
May 21, 2020 · Backend Development

Best Practices for Handling Java Exceptions: Common Mistakes and Correct Approaches

This article presents common error patterns and proper techniques for handling Java exceptions, illustrating why returning null, catching generic exceptions, swallowing Throwables, and misusing finally blocks are problematic, and provides clear, correct examples to improve exception management in Java applications.

Error HandlingException HandlingJava
0 likes · 7 min read
Best Practices for Handling Java Exceptions: Common Mistakes and Correct Approaches
vivo Internet Technology
vivo Internet Technology
May 6, 2020 · Frontend Development

In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally

This article walks through a step‑by‑step construction of a fully‑featured JavaScript Promise, detailing prototype methods, chainable then, reject handling, catch alias, and a standards‑compliant finally implementation, while illustrating each stage with code snippets, flowcharts, and animated visualizations.

AsynchronousError HandlingPromise
0 likes · 10 min read
In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally
360 Tech Engineering
360 Tech Engineering
Apr 13, 2020 · Backend Development

Understanding Exception and Error Handling in Go

This article explains how Go handles exceptions and errors using defer, panic, and recover, compares it with try‑catch in other languages, demonstrates the built‑in error interface, custom error types, and provides multiple code examples and analyses of their output.

Error HandlingExceptionGo
0 likes · 6 min read
Understanding Exception and Error Handling in Go
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Frontend Development

Progressive Refactoring of Vuex API Calls: From Separation of Concerns to Olive‑Shaped Interfaces and Response Normalization

This article walks through a multi‑stage refactoring of Vuex API calls for an IoT project, demonstrating how to separate concerns, create a concise olive‑shaped interface, implement custom isomorphic mappers, and normalize responses with three‑level error handling while keeping the codebase maintainable and scalable.

API RefactoringError HandlingState Management
0 likes · 16 min read
Progressive Refactoring of Vuex API Calls: From Separation of Concerns to Olive‑Shaped Interfaces and Response Normalization
360 Tech Engineering
360 Tech Engineering
Mar 16, 2020 · Frontend Development

Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization

This article walks through three progressive refactoring stages for Vuex‑based API calls—first separating concerns for maintainable code, then introducing a concise “olive‑shaped” interface with dynamic generation or proxy interception, and finally adding response normalization and three‑level error handling to produce robust, low‑maintenance frontend logic.

API RefactoringError HandlingFrontend Architecture
0 likes · 14 min read
Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization
dbaplus Community
dbaplus Community
Feb 22, 2020 · Databases

How to Perform Daily Maintenance on GaussDB T Clusters Without Pitfalls

This guide walks you through the essential daily maintenance tasks for GaussDB T clusters, covering ETCD startup, cluster health checks, host resource monitoring, tablespace usage, abnormal wait events, log inspection, and common error troubleshooting with concrete commands and SQL examples.

Cluster ManagementDatabase MaintenanceError Handling
0 likes · 11 min read
How to Perform Daily Maintenance on GaussDB T Clusters Without Pitfalls
360 Quality & Efficiency
360 Quality & Efficiency
Feb 13, 2020 · Backend Development

Reliable Bash Shell Scripting Practices

This article presents a comprehensive set of best‑practice guidelines for writing reliable Bash shell scripts, covering shebang selection, quoting variables, function encapsulation, readonly constants, variable scope, error handling, debugging, path management, argument parsing with shift, signal trapping, and helpful tips to improve script robustness and maintainability.

BashError HandlingShell scripting
0 likes · 9 min read
Reliable Bash Shell Scripting Practices
WecTeam
WecTeam
Dec 26, 2019 · Fundamentals

How to Build a Custom JSON Parser in JavaScript from Scratch

This article walks through creating a JSON parser in JavaScript, covering the JSON grammar, railroad and BNF diagrams, step‑by‑step implementation of object, array and value parsing, robust error handling, and suggestions for meaningful error messages.

Error HandlingJSONJavaScript
0 likes · 13 min read
How to Build a Custom JSON Parser in JavaScript from Scratch
Alibaba Cloud Native
Alibaba Cloud Native
Dec 25, 2019 · Backend Development

Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide

This article explores Go's panic/recover mechanism, identifies which runtime errors can be recovered, explains unrecoverable scenarios like thread exhaustion and map race, demonstrates best‑practice error handling with Go 1.13 features and popular error libraries, and offers concrete logging strategies for robust server development.

Error HandlingGOMAXPROCSGo
0 likes · 34 min read
Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide
37 Interactive Technology Team
37 Interactive Technology Team
Dec 13, 2019 · Game Development

Guide to Apple In-App Purchase Integration for Game SDK Development

This guide walks game SDK developers through Apple’s In‑App Purchase integration, detailing product types, the three‑step purchase flow, receipt acquisition and server‑side verification, order binding and retry mechanisms, duplicate handling, subscription restoration, and comprehensive error handling to ensure reliable revenue management.

Apple IAPError HandlingGame Development
0 likes · 10 min read
Guide to Apple In-App Purchase Integration for Game SDK Development
WecTeam
WecTeam
Dec 13, 2019 · Frontend Development

How to Capture, Diagnose, and Fix Script Errors in Front‑End Projects

This article explains why script errors appear in front‑end pages, describes methods such as enabling CORS, using try‑catch wrappers, handling JSONP and AJAX failures, and outlines logging, statistical analysis, and monitoring techniques to locate and resolve badjs issues effectively.

CORSError Handlingbadjs
0 likes · 21 min read
How to Capture, Diagnose, and Fix Script Errors in Front‑End Projects
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 24, 2019 · Big Data

Common Apache Kafka Exceptions and Their Causes

This article lists frequent Apache Kafka exceptions such as UnknownTopicOrPartitionException, LEADER_NOT_AVAILABLE, NotLeaderForPartitionException, TimeoutException, RecordTooLargeException, and others, explaining each error message, typical reasons, and practical troubleshooting steps for producers and consumers.

Big DataConsumerError Handling
0 likes · 5 min read
Common Apache Kafka Exceptions and Their Causes
System Architect Go
System Architect Go
Oct 18, 2019 · Backend Development

Error Handling in Go Before and After Go 1.13

This article explains Go's built‑in error interface, the traditional ways of creating and checking errors before Go 1.13, and the new errors.Unwrap, errors.Is, errors.As functions plus the %w verb in fmt.Errorf introduced in Go 1.13 for error wrapping and inspection.

Error HandlingGoas
0 likes · 5 min read
Error Handling in Go Before and After Go 1.13
Architects Research Society
Architects Research Society
Oct 16, 2019 · Backend Development

Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support

This article explains how to integrate Apache Kafka with Spring Boot, covering error handling with SeekToCurrentErrorHandler, deserialization error handling, type‑inferred message conversion, multi‑listener routing, and transactional message processing, providing code examples and configuration details for each feature.

Apache KafkaError HandlingJava
0 likes · 10 min read
Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 15, 2019 · Cloud Computing

7 Tough Challenges of Designing OpenAPI for Cloud Services and How to Overcome Them

This article examines why robust API specifications are crucial for cloud services, outlines seven major challenges—from choosing design patterns and resource modeling to error handling, versioning, and ecosystem integration—and offers practical guidance for building consistent, reliable OpenAPI interfaces at scale.

Cloud ServicesError HandlingOpenAPI
0 likes · 20 min read
7 Tough Challenges of Designing OpenAPI for Cloud Services and How to Overcome Them
FangDuoduo UEDC
FangDuoduo UEDC
Sep 24, 2019 · Product Management

Designing Effective Empty States for Mobile Apps

This article explains why empty (exception) states are crucial in UI design, categorizes six common types such as network errors, data consumption, load failures, no search results, permission issues, and features under construction, and offers practical examples and visual guidelines for each.

Empty StateError HandlingUX design
0 likes · 6 min read
Designing Effective Empty States for Mobile Apps
System Architect Go
System Architect Go
Jul 29, 2019 · Backend Development

10 Common Go Mistakes That Can Sabotage Your Code

This article enumerates ten frequent Go programming errors—from unknown enum handling and benchmark mis‑optimizations to pointer misuse, slice initialization, context pitfalls, and error‑handling practices—explaining why they occur, showing reproducible code examples, and offering concrete fixes to write more reliable Go code.

BenchmarkError HandlingGo
0 likes · 14 min read
10 Common Go Mistakes That Can Sabotage Your Code
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2019 · Fundamentals

Master Python Exception Handling: From Basics to Best Practices

This article explains what errors and exceptions are in Python, how the try/except/finally constructs work, demonstrates various usage patterns—including catching specific or multiple exceptions, re‑raising, and using built‑in alternatives—and provides best‑practice guidelines for robust error handling.

Error HandlingException HandlingPython
0 likes · 12 min read
Master Python Exception Handling: From Basics to Best Practices
360 Quality & Efficiency
360 Quality & Efficiency
Mar 13, 2019 · Fundamentals

Common Return Code Bugs in Function Testing and Their Solutions

The article examines two typical return‑code bugs encountered during white‑box testing—one where error paths mistakenly return a success code and another where callers check the wrong value—explaining their causes and offering concrete remediation guidelines to improve error handling.

Error HandlingSoftware Testingbug
0 likes · 4 min read
Common Return Code Bugs in Function Testing and Their Solutions
Beike Product & Technology
Beike Product & Technology
Mar 7, 2019 · Fundamentals

Error Classification

This article discusses various types of JavaScript errors, including syntax errors, runtime errors, and resource loading errors, and explains how to handle them.

Error HandlingWeb Developmentprogramming
0 likes · 14 min read
Error Classification