Skip to content

READMEのエラーハンドリング説明を整理 - #114

Merged
Sinhalite merged 1 commit into
microcmsio:mainfrom
Sinhalite:codex/refine-error-handling-readme
Sep 3, 2026
Merged

Sinhalite merged 1 commit into
microcmsio:mainfrom
Sinhalite:codex/refine-error-handling-readme

Conversation

@Sinhalite

Copy link
Copy Markdown
Contributor

概要

READMEのエラーハンドリング冒頭とコード例後の説明を統合しました。

変更内容

  • エラー本体を通常のErrorとして出力できることを冒頭で説明
  • HTTPエラーの通常出力に、HTTPステータスとAPIから返されたエラーメッセージが含まれることを明記
  • status、url、originalErrorを、リクエストに関する構造化された追加情報として説明
  • コード例後の重複した説明を削除
  • 英語版READMEにも同じ内容を反映

背景

#112で追加した説明について、初めてREADMEを読む場合にも通常のエラー出力と追加情報の関係が分かるよう、説明の順序と表現を整理しました。

確認

  • git diff --check
  • npm run format

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

On-demand reviews are free for the next 18 days. After that, they cost $0.25 per reviewed file.

Or wait 3 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 8754a3b3-c7be-4215-a216-11215f9f545e

📥 Commits

Reviewing files that changed from the base of the PR and between ba12b60 and aabf6d1.

📒 Files selected for processing (2)
  • README.md
  • README_en.md

Comment @coderabbitai help to get the list of available commands.

@Sinhalite
Sinhalite merged commit ad2892a into microcmsio:main Sep 3, 2026
6 checks passed
@Sinhalite
Sinhalite deleted the codex/refine-error-handling-readme branch September 3, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant