for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Pakkelabels
*
* PHP version 5
* @category Pakkelabels
* @package Pakkelabels
* @author Lars Olesen <[email protected]>
* @copyright 2015 Lars Olesen
* @license MIT Open Source License https://opensource.org/licenses/MIT
* @version GIT: <git_id>
* @link http://github.com/discimport/pakkelabels-dk
*/
namespace Pakkelabels\Exception;
use Exception;
* Class Pakkelabels\Exception
* @license http://opensource.org/licenses/bsd-license.php New BSD License
class PakkelabelsException extends \Exception
{
* Construct the exception.
* @param string $message Message returned by API for error.
public function __construct($message = null)
if (is_array($message)) {
parent::__construct(implode(', ', $message));
} else {
parent::__construct($message);
}