Tag

Error Codes

0 views collected around this technical thread.

Architect's Tech Stack
Architect's Tech Stack
Apr 15, 2025 · Backend Development

The Chaotic Evolution of API Design: From Early AJAX to Post‑Restful Practices

This article narrates the messy history of API design, illustrating early AJAX conventions, the misuse of HTTP status codes, the challenges of maintaining Restful standards, ad‑hoc extensions, and the eventual abandonment of Restful in favor of a simplified POST‑centric approach, while highlighting practical lessons for backend developers.

APIBackendDesign
0 likes · 6 min read
The Chaotic Evolution of API Design: From Early AJAX to Post‑Restful Practices
JD Tech
JD Tech
Jan 2, 2025 · Backend Development

Designing Effective API Error Codes and Their Propagation in Complex Systems

This article explains the importance of well‑designed API and database structures, outlines principles for creating clear and traceable error codes, provides response format examples, discusses error propagation strategies, highlights common pitfalls, and proposes a full‑link trace‑id logging system for backend services.

API designBackendError Codes
0 likes · 15 min read
Designing Effective API Error Codes and Their Propagation in Complex Systems
Go Programming World
Go Programming World
May 30, 2024 · Backend Development

Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go

This article explains how to design a unified business error‑code system for RESTful APIs, demonstrates the structure and format of such codes, provides a Go implementation with structs, interfaces and formatting methods, and shows practical usage in a Gin web server including logging and notification strategies.

BackendError CodesError Handling
0 likes · 22 min read
Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go
IT Services Circle
IT Services Circle
Apr 5, 2024 · Backend Development

Understanding Common HTTP Request Error Codes and Debugging Solutions

This article explains the classification of HTTP request error codes, details typical 4xx client and 5xx server errors, provides common causes, and offers practical debugging steps and solutions to efficiently identify and resolve front‑end and back‑end issues.

BackendError CodesFrontend
0 likes · 17 min read
Understanding Common HTTP Request Error Codes and Debugging Solutions
Tencent Cloud Developer
Tencent Cloud Developer
Dec 19, 2023 · Fundamentals

Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices

The article explains how object‑oriented analysis and design should treat exceptions by using RAII for automatic resource cleanup, avoiding error‑code patterns, and adopting a throw‑by‑default policy with strongly‑typed exceptions, illustrating concepts with C++ and VB.NET examples and framework design recommendations.

C++Error CodesException Handling
0 likes · 38 min read
Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices
Top Architect
Top Architect
May 30, 2023 · Backend Development

Designing API Error Codes and Messages: Best Practices and Standardization

This article explains how to design clear, consistent API error codes and messages by referencing HTTP status code segmentation, defining code‑message pairs, customizing user‑friendly messages, and centralizing handling to improve communication, debugging, and monitoring for backend services.

API designBackendError Codes
0 likes · 6 min read
Designing API Error Codes and Messages: Best Practices and Standardization
Top Architect
Top Architect
Jun 22, 2022 · Backend Development

Designing API Error Codes and Messages: Best Practices

This article explains how to design clear and consistent API error codes and messages by borrowing the segmentation logic of HTTP status codes, defining code‑message pairs, providing personalized user‑facing messages, and centralizing handling for monitoring and alerting, ultimately reducing communication and maintenance costs.

API designError CodesMonitoring
0 likes · 6 min read
Designing API Error Codes and Messages: Best Practices
Top Architect
Top Architect
May 26, 2022 · Backend Development

Designing API Return Codes and Messages: Best Practices for Backend Services

This article explains how to design clear, consistent API return codes and messages by referencing HTTP status codes, defining code‑message pairs, supporting personalized messages for different clients, and using unified handling for monitoring and alerting, ultimately improving communication and maintenance costs.

API designError CodesHTTP status codes
0 likes · 6 min read
Designing API Return Codes and Messages: Best Practices for Backend Services
Architecture Digest
Architecture Digest
Jan 27, 2022 · Backend Development

Designing API Error Codes and Result Codes: Best Practices

This article explains why a well‑designed API error‑code system—using consistent numeric or string codes, clear messages, HTTP‑status‑like segmentation, personalized user messages, and unified handling for monitoring—reduces communication overhead, simplifies maintenance, and improves overall backend reliability.

API designError CodesMonitoring
0 likes · 6 min read
Designing API Error Codes and Result Codes: Best Practices
Architect
Architect
Jan 23, 2022 · Backend Development

Designing Consistent API Return Codes: Lessons from HTTP Status Codes

The article explains why a well‑designed API return‑code system—modeled after HTTP status codes, with clear numeric ranges, descriptive messages, and personalized user messages—reduces communication overhead, simplifies maintenance, and enables effective monitoring and alerting for backend services.

API designError CodesHTTP status codes
0 likes · 6 min read
Designing Consistent API Return Codes: Lessons from HTTP Status Codes
Top Architect
Top Architect
Oct 26, 2021 · Backend Development

Designing API Error Codes and Result Codes: Best Practices

This article explains how to design clear and consistent API error and result codes, using HTTP status code concepts, parameter conventions, personalized messages, and unified handling to improve communication, reduce maintenance costs, and enable effective monitoring and alerting for backend services.

API designBackendError Codes
0 likes · 5 min read
Designing API Error Codes and Result Codes: Best Practices
JD Retail Technology
JD Retail Technology
Aug 19, 2020 · Backend Development

Understanding Exception Handling: Strategies and Best Practices for Different System Types

This article explains the complexities of exception handling across various backend scenarios—such as message queues, RPC services, mobile and PC clients—offering practical guidelines on when to catch, rethrow, use error codes, or employ alternatives like Java Optional to improve code clarity and system reliability.

BackendBest PracticesError Codes
0 likes · 7 min read
Understanding Exception Handling: Strategies and Best Practices for Different System Types
Amap Tech
Amap Tech
Apr 24, 2020 · Backend Development

Introducing the Java Development Manual (Taishan Edition): Unified Error Codes, Leap‑Year Pitfalls, SQL Alias, Code‑Style Tips, and Ternary‑Operator NPE Issues

The new Java Development Manual (Taishan Edition) adds 34 rules and revises 90 descriptions, introduces a unified five‑character error‑code scheme, warns about stream‑toMap and ternary‑operator null‑pointer traps, highlights leap‑year and SQL alias bugs, and recommends readability tweaks such as blank lines after returns.

BackendError CodesJava
0 likes · 8 min read
Introducing the Java Development Manual (Taishan Edition): Unified Error Codes, Leap‑Year Pitfalls, SQL Alias, Code‑Style Tips, and Ternary‑Operator NPE Issues
Hujiang Technology
Hujiang Technology
Jun 20, 2017 · Backend Development

Design and Management of a Unified Error Code System for Distributed Backend Services

This article explains the concept, benefits, and implementation details of a unified error‑code management platform, covering code allocation, handling strategies in microservice architectures, API security considerations, and performance optimizations to reduce development friction and improve system reliability.

API designError CodesSystem Architecture
0 likes · 12 min read
Design and Management of a Unified Error Code System for Distributed Backend Services
Efficient Ops
Efficient Ops
Apr 24, 2016 · Operations

How Per‑Request Diagnosis Transformed Mobile CDN Image Delivery at Sina Weibo

This article explains a PerRequest‑level problem‑location method for mobile internet, detailing how precise packet loss enumeration and a Supply‑Chain‑based logging approach dramatically improved Sina Weibo image quality by identifying and reducing key error codes.

CDNDiagnosticsError Codes
0 likes · 12 min read
How Per‑Request Diagnosis Transformed Mobile CDN Image Delivery at Sina Weibo