create new contact recode and clean up

This commit is contained in:
hazim
2019-03-05 15:23:11 +08:00
parent 4848e1bd5b
commit c46b8570f1
6 changed files with 225 additions and 1 deletions
@@ -0,0 +1,17 @@
<?php
namespace App\Classes\Modules\Contacts\Exceptions;
use App\Classes\Exceptions\Common\ErrorException;
use App\Classes\ValueObjects\Constants\HttpStatus;
final class CannotCreateContactException extends ErrorException
{
/**
* @param string $message
*/
public function __construct(string $message) {
parent::__construct($message, HttpStatus::BAD_REQUEST);
}
}