refactor
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/*
|
||||
// MODULE_CONTRACT: Defines a custom exception for all Alfa Bank API-specific errors.
|
||||
// RESPONSIBILITY: To wrap standard HTTP exceptions and provide a richer context, including the original API response, a specific error code, and a description.
|
||||
// INPUTS: Saloon Response object, and optional error code and description strings.
|
||||
// OUTPUTS: An instantiated Exception object.
|
||||
// LINKS: Http/Middleware/AlfaResponseMiddleware.php (where this exception is thrown)
|
||||
// LINKS: Traits/HasAlfaErrorHandling.php (where this exception is thrown)
|
||||
*/
|
||||
|
||||
namespace Apoloz\AlfaBank\Exceptions;
|
||||
|
||||
Reference in New Issue
Block a user