ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/vendor/razorpay/razorpay/src/Errors/
Upload File :
Current File : /home2/selectio/www/3-idiots/vendor/razorpay/razorpay/src/Errors/ErrorCode.php

<?php

namespace Razorpay\Api\Errors;

class ErrorCode
{
    const BAD_REQUEST_ERROR                 = 'BAD_REQUEST_ERROR';
    const SERVER_ERROR                      = 'SERVER_ERROR';
    const GATEWAY_ERROR                     = 'GATEWAY_ERROR';

    public static function exists($code)
    {
        $code = strtoupper($code);

        return defined(get_class() . '::' . $code);
    }
}

Zerion Mini Shell 1.0