brokeyourbike/yogupay-api-client-php

View on GitHub
src/Enums/ErrorCodeEnum.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

// Copyright (C) 2024 Ivan Stasiuk <ivan@stasi.uk>.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

namespace BrokeYourBike\YoguPay\Enums;

/**
 * @author Ivan Stasiuk <ivan@stasi.uk>
 */
enum ErrorCodeEnum: string
{
    case FAIL = '0';
    case SUCCESS = '1';
    case NOT_FOUND = '2';
    case BAD_REQUEST = '400';
    case EXCEPTION = '500';
    case INSUFFICIENT_FUNDS = '-2';
    case UNAVAILABLE = '-3';
}