zendesk/zendesk_api_client_php

View on GitHub
src/Zendesk/API/Exceptions/CustomException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Zendesk\API\Exceptions;

/**
 * CustomException extends the Exception class with simplified messaging
 * @package Zendesk\API
 */
class CustomException extends \Exception
{

    /**
     * @param string $message
     * @param int $code
     * @param \Exception $previous
     */
    public function __construct($message, $code = 0, \Exception $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}