mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[PR #542] [MERGED] Extended exceptions logic #1169
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#1169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/flyimg/flyimg/pull/542
Author: @VBrilyak
Created: 11/18/2024
Status: ✅ Merged
Merged: 11/20/2024
Merged by: @sadok-f
Base:
main← Head:feature-exceptions-update📝 Commits (10+)
4989a94Initial commitda5e669Delete README.mdce54c3dMerge remote-tracking branch 'gitlab/main'2add882Extended exceptions logicd59a2e7Merge branch 'main' into feature-exceptions-update9eb6d97fixed linting errors613d950Merge branch 'feature-exceptions-update' of https://github.com/VBrilyak/flyimg into feature-exceptions-updateaa6b43fupdate in markupcc972caUpdate in exceptions constructor19dae6afix: add UnitTests for the new Exceptions📊 Changes
32 files changed (+438 additions, -66 deletions)
View changed files
📝
.github/dependabot.yml(+2 -1)📝
.github/workflows/branch-dev-deploy.yml(+16 -8)📝
.github/workflows/cd.yml(+22 -6)📝
.github/workflows/ci.yml(+5 -2)📝
.github/workflows/close_inactive_issues.yml(+2 -1)📝
.github/workflows/docs.yml(+2 -1)📝
composer.json(+1 -0)📝
composer.lock(+68 -7)📝
config/parameters.yml(+17 -9)📝
config/routes.yml(+11 -8)📝
mkdocs.yml(+12 -11)📝
phpunit.xml.dist(+1 -1)📝
src/Core/Entity/Image/InputImage.php(+21 -2)➕
src/Core/Exception/AccessDeniedException.php(+13 -0)📝
src/Core/Exception/AppException.php(+8 -1)📝
src/Core/Exception/ExecFailedException.php(+8 -1)➕
src/Core/Exception/FileNotFoundException.php(+13 -0)📝
src/Core/Exception/InvalidArgumentException.php(+7 -1)📝
src/Core/Exception/MissingParamsException.php(+7 -1)📝
src/Core/Exception/ReadFileException.php(+7 -1)...and 12 more files
📄 Description
Hello,
We have a small update regarding the Exceptions logic, which has been adjusted for various scenarios. For example, when 'origin' returns 'File not found', we now return the corresponding Exception based on the HTTP status code (404), etc.
Kind regards
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.