moip/moip-sdk-php

View on GitHub
src/Exceptions/UnexpectedException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Moip\Exceptions;

use RuntimeException;

/**
 * Class UnexpectedException.
 */
class UnexpectedException extends RuntimeException
{
    /**
     * UnexpectedException constructor.
     *
     * @param null $previous
     */
    public function __construct($previous = null)
    {
        parent::__construct('Um erro inesperado aconteceu, por favor contate o moip', 500, $previous);
    }
}