You are here

public static function ErrorHelper::handleErrors in Commerce Mollie 8

Translates Mollie errors into Commerce exceptions.

Parameters

object $result: The Mollie result object.

Throws

\Drupal\commerce_payment\Exception\PaymentGatewayException The Commerce exception.

1 call to ErrorHelper::handleErrors()
Mollie::createRemotePayment in src/Plugin/Commerce/PaymentGateway/Mollie.php

File

src/ErrorHelper.php, line 44

Class

ErrorHelper
Translates Mollie exceptions and errors into Commerce exceptions.

Namespace

Drupal\commerce_mollie

Code

public static function handleErrors($result) {
}