• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daycry / cronjob / 18288101817

06 Oct 2025 04:45PM UTC coverage: 68.511% (-1.0%) from 69.514%
18288101817

push

github

daycry
Update README.md

483 of 705 relevant lines covered (68.51%)

5.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/Exceptions/CronJobException.php
1
<?php
2

3
namespace Daycry\CronJob\Exceptions;
4

5
use CodeIgniter\Exceptions\RuntimeException as BaseRuntimeException;
6

7
/**
8
 * Base library exception extending CodeIgniter's RuntimeException
9
 * so framework handlers (logging, HTTP converters, etc.) can treat
10
 * these uniformly.
11
 */
12
class CronJobException extends BaseRuntimeException
13
{
14
    public static function forInvalidTaskType(string $type)
15
    {
16
        return new self(lang('CronJob.invalidTaskType', [$type]));
1✔
17
    }
18

19
    public static function forInvalidLogType()
20
    {
21
        return new self(lang('CronJob.invalidLogType'));
×
22
    }
23

24
    public static function forInvalidExpression(string $type)
25
    {
26
        return new self(lang('CronJob.invalidExpression', [$type]));
1✔
27
    }
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc