/home/kueuepay/public_html/vendor/spatie/ignition/src/Contracts/SolutionProviderRepository.php
<?php

namespace Spatie\Ignition\Contracts;

use Throwable;

interface SolutionProviderRepository
{
    /**
     * @param class-string<HasSolutionsForThrowable>|HasSolutionsForThrowable $solutionProvider
     *
     * @return $this
     */
    public function registerSolutionProvider(string $solutionProvider): self;

    /**
     * @param array<class-string<HasSolutionsForThrowable>|HasSolutionsForThrowable> $solutionProviders
     *
     * @return $this
     */
    public function registerSolutionProviders(array $solutionProviders): self;

    /**
     * @param Throwable $throwable
     *
     * @return array<int, Solution>
     */
    public function getSolutionsForThrowable(Throwable $throwable): array;

    /**
     * @param class-string<Solution> $solutionClass
     *
     * @return null|Solution
     */
    public function getSolutionForClass(string $solutionClass): ?Solution;
}
Response Code

Response Codes

Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.