V2EX  ›  英汉词典

Client Error

释义 Definition

Client error(客户端错误):在网络/软件系统中,由“客户端”(如浏览器、App、调用方程序)发出的请求不正确或缺少必要信息而导致的错误。最常见语境是 HTTP 的 4xx 状态码(如 400、401、403、404),表示问题通常在请求端而非服务器端。(在部分系统中也可泛指“由客户端引起的错误”。)

发音 Pronunciation (IPA)

/ˈklaɪənt ˈɛrər/

例句 Examples

The API returned a client error because the request was missing an access token.
API 返回了客户端错误,因为请求缺少访问令牌。

If you keep getting a 404 client error, check the URL, the routing rules, and whether the resource actually exists.
如果你一直遇到 404 客户端错误,请检查网址、路由规则,以及资源是否确实存在。

词源 Etymology

client 源自拉丁语 cliens(“依附者、受保护者、委托人”),在计算机领域引申为“请求服务的一端”。error 源自拉丁语 error(“偏离、错误”)。合起来的 client error 直译为“客户端一侧的错误”,在互联网协议中常用来对比 server error(服务器错误,5xx)。

相关词 Related Words

文献与作品 Literary / Notable Works

  • RFC 9110: HTTP Semantics(规范性文本中系统定义 4xx “Client Error” 类别)
  • RFC 7231: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content(早期权威规范中使用并解释 “client error”)
  • MDN Web Docs:HTTP response status codes(开发者文档中广泛使用 “client error (4xx)”)
  • 《HTTP: The Definitive Guide》(技术书籍中讨论 4xx 与客户端错误语义)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1727 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 03:59 · PVG 11:59 · LAX 19:59 · JFK 22:59
♥ Do have faith in what you're doing.