top-think / top-think/think-orm

关于异常错误的接受问题

Open
#368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Description

关于 \Exception | \Throwable $e 的疑问
Exception implements Throwable
那么是否单独写成 \Throwable $e 是否也可以满足

Contributor guide

No contributing guide indexed for this repository

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

The issue names no file, test, or entry point and only asks whether \Throwable $e can replace \Exception $e. First confirm the intended exception-handling behavior with the ORM's existing usage, then identify where that guidance belongs. Done would require a clear maintainer decision and documentation or an example showing the supported form.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.