for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MallardDuck\Whois\Exceptions;
class MissingArgException extends \Exception
{
// Redefine the exception so message isn't optional
public function __construct($message, $code = 0, Exception $previous = null) {
MallardDuck\Whois\Exceptions\Exception
Exception
\
// some code
// make sure everything is assigned properly
parent::__construct($message, $code, $previous);
}