-
Notifications
You must be signed in to change notification settings - Fork 48
163 modify 500 code error response page #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
dee3246
refactor: display throwable errors too
RGO230 115f599
Merge branch '163-modify-500-code-error-response-page' of https://git…
RGO230 1c7dfcf
refactor: set empty array for not exception errors
RGO230 fe96b4b
refactor: add empty email exception message to view
RGO230 241a8f7
fix: remove useless
RGO230 6624b40
refactor: add defaul unhandled error message
RGO230 79d523c
refactor: use try catch
RGO230 66d348a
refactor: use try catch in correct place
RGO230 c48e7f2
fix: tests
RGO230 86a3613
refactor: remove useless
RGO230 2d6f294
style:fix
RGO230 2baa6e4
refactor: remove generateDataWithExceptionHandling
RGO230 b8c8e88
style:fix
RGO230 c779d33
refactor: mock getTraceMethod
RGO230 b5f1058
fix: make correct trace format
RGO230 e91f3c7
refactor: make TraceMockTrait
RGO230 70c3fe8
Merge branch 'master' into 163-modify-500-code-error-response-page
RGO230 500b9df
style:fix
RGO230 9cc86e5
style:fix
RGO230 9bc0e27
style:fix
RGO230 9435c06
Merge branch '163-modify-500-code-error-response-page' of https://git…
RGO230 0d5d70e
fix: correct find trace info in response content
RGO230 99e0fc5
refactor: make tests for github ci env
RGO230 9868465
fix:tests
RGO230 a48313b
fix:tests
RGO230 66d89d1
chore: add todo
RGO230 b36f48e
style: fix
RGO230 3a76139
fix: remove last changes
RGO230 8c95347
style: fix
RGO230 88a7aee
style:fix
RGO230 247de39
fix: remove useless
RGO230 b3fc2f7
refactor: add throwable in documentation driver
RGO230 5f0de86
tests:fix
RGO230 63a7bae
fix: tests
RGO230 33f9321
fix: tests
RGO230 c334ebf
fix: remove useless
RGO230 4a22c5d
fix: remove useless
RGO230 48f6b6a
Merge branch '163-modify-500-code-error-response-page' of https://git…
RGO230 bbb9954
Update src/Services/SwaggerService.php
DenTray 2ffa2e0
Update src/AutoDocServiceProvider.php
DenTray a41dd8e
Apply suggestion from @DenTray
DenTray deb135f
refactor: separate invalid prod data test
RGO230 9aa1c07
refactor: use swagger service mock, remove useless
RGO230 ab733aa
fix: tests
RGO230 2618e5c
fix:tests
RGO230 186e3ab
style:fix
RGO230 5e8c8a1
fix: remove useless
RGO230 e134ca9
Apply suggestion from @Copilot
AZabolotnikov 09aba3d
style:fix
RGO230 c83958a
fix:remove useless
RGO230 3331f1c
style:fix
RGO230 5eef605
fix:tests
RGO230 f70a93b
Update tests/SwaggerServiceTest.php
DenTray 17c2b2a
Update tests/SwaggerServiceTest.php
DenTray a080402
Update tests/SwaggerServiceTest.php
DenTray 229e545
Update tests/SwaggerServiceTest.php
DenTray 4f0254c
Update tests/SwaggerServiceTest.php
DenTray a0ba34f
Update tests/SwaggerServiceTest.php
DenTray 208ce11
Update tests/SwaggerServiceTest.php
DenTray 5c8cfeb
Update tests/SwaggerServiceTest.php
DenTray c07712a
tests: make correct php 8.4 tests
RGO230 b6ab02c
Merge branch '163-modify-500-code-error-response-page' of https://git…
RGO230 30f0f23
fix:tests
RGO230 8a1c80b
refactor: remove useless
RGO230 b0030f3
refactor: replace getFixturePath to getFixture
RGO230 07ac086
style: remove useless
RGO230 5d00c6d
style: fix
RGO230 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,14 @@ | ||
| {{ $message }} | ||
| # ❗️ **ERROR** ❗️ | ||
|
|
||
| ## 🚨🚨 {{ $type }} 🚨🚨 | ||
|
|
||
| --- | ||
|
|
||
| ### **Details:** | ||
|
|
||
| {{ $message }} | ||
|
|
||
| ### **Error place:** | ||
|
|
||
| {{ $error_place }} | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?php | ||
|
|
||
| namespace RonasIT\AutoDoc\Exceptions; | ||
|
|
||
| use Exception; | ||
|
|
||
| class NonJSONDocFileException extends Exception | ||
| { | ||
| public function __construct(string $filename) | ||
| { | ||
| parent::__construct("Doc file '{$filename}' is not a json doc file."); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.