Initial setup

This commit is contained in:
Fairuz
2021-06-17 20:12:08 +08:00
commit ee1a7a12cc
247 changed files with 29192 additions and 0 deletions
@@ -0,0 +1,12 @@
<?php
namespace App\Classes\Exceptions;
use App\Classes\ValueObjects\Constants\HttpStatus;
final class ResourceConflictException extends ServiceApiException {
public function __construct(?string $message = null) {
parent::__construct($message ?? 'Unable to create the requested resource as it already exists',
HttpStatus::RESOURCE_ALREADY_EXISTS);
}
}