yiisoft / yiisoft/error-handler

Throw friendly exception when callable in `ExceptionResponder` returns non-`ResponseInterface`

Open
#71 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status:ready for adoption type:enhancement
Dominant language
PHP
Stars
22
Forks
18
Avg merge
1h
Merged PRs (30d)
1

Description

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/Middleware/ExceptionResponder.php line 83 and trace how the callable result is handled when it is not a ResponseInterface. Check nearby error-handling code and the relevant test suite for the expected exception style; done when the invalid result produces a friendly exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.