Cartalyst\Stripe\Exception\StripeException::setErrorCode PHP Method

setErrorCode() public method

Sets the error type returned by Stripe.
public setErrorCode ( string $errorCode )
$errorCode string
    public function setErrorCode($errorCode)
    {
        $this->errorCode = $errorCode;
        return $this;
    }