Everyone who may change a task's status (attached subcontractors too) comments on it on the job page. Authors edit and remove their own comments; admin and management may remove anyone's (jobs.remove-any-task-comment). Edited comments show when they were edited, and task cards show the number of comments. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
16 lines
324 B
PHP
16 lines
324 B
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
namespace App\Modules\Jobs\Domain\Exceptions;
|
||
|
||
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
||
|
||
final class InvalidTaskCommentBody extends DomainException
|
||
{
|
||
public function __construct()
|
||
{
|
||
parent::__construct('A task comment must be 1–5000 characters.');
|
||
}
|
||
}
|