New columns at job_results table to track url, job_command_name and job_command + new JobResourceNotFoundException

This commit is contained in:
Dillon
2023-09-25 19:43:58 +08:00
parent 4173412230
commit b081c5ccfb
19 changed files with 155 additions and 49 deletions
@@ -0,0 +1,11 @@
<?php
namespace App\Classes\Exceptions;
use App\Classes\ValueObjects\Constants\HttpStatus;
final class JobResourceNotFoundException extends ServiceApiException {
public function __construct(?string $message = null) {
parent::__construct($message ?? 'Unable to find the requested resource', HttpStatus::RESOURCE_NOT_FOUND);
}
}