Skip to content

Validate status codes in error responses#4

Merged
RAprogramm merged 1 commit intomainfrom
codex/handle-status-conversion-in-errorresponse
Sep 11, 2025
Merged

Validate status codes in error responses#4
RAprogramm merged 1 commit intomainfrom
codex/handle-status-conversion-in-errorresponse

Conversation

@RAprogramm
Copy link
Owner

Summary

  • check provided HTTP status codes in ErrorResponse::new
  • document possible error and update examples
  • add regression test rejecting invalid statuses

Testing

  • cargo +nightly fmt --
  • cargo clippy -- -D warnings
  • cargo build --all-targets
  • cargo test --all
  • cargo doc --no-deps

https://chatgpt.com/codex/tasks/task_e_68c2657c0cfc832bb0db8a6b491c3e28

@RAprogramm RAprogramm merged commit c1acec9 into main Sep 11, 2025
2 checks passed
@RAprogramm RAprogramm deleted the codex/handle-status-conversion-in-errorresponse branch September 11, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant