Skip to content

Introduce ExceptionFactory for customizable exception handling - #41

Open
ronskyi wants to merge 1 commit into
PayMeService:mainfrom
ronskyi:validation-exception-factory
Open

Introduce ExceptionFactory for customizable exception handling#41
ronskyi wants to merge 1 commit into
PayMeService:mainfrom
ronskyi:validation-exception-factory

Conversation

@ronskyi

@ronskyi ronskyi commented Jul 3, 2025

Copy link
Copy Markdown
Contributor
  • Added error_factory configuration option in remotisan.php to allow specifying a custom exception factory.
  • Introduced ExceptionFactory contract and DefaultExceptionFactory implementation.
  • Replaced hardcoded exception in RemotisanController with ExceptionFactory usage for better flexibility.

- Added `error_factory` configuration option in `remotisan.php` to allow specifying a custom exception factory.
- Introduced `ExceptionFactory` contract and `DefaultExceptionFactory` implementation.
- Replaced hardcoded exception in `RemotisanController` with `ExceptionFactory` usage for better flexibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant