Files
vkv/app/Enums/QsoErrorCode.php
Zdeněk Burda 41e3ce6f25 Initial commit
2026-01-09 21:26:40 +01:00

36 lines
998 B
PHP

<?php
namespace App\Enums;
final class QsoErrorCode
{
public const OK = 'OK';
public const DUP = 'DUP';
public const UNIQUE = 'UNIQUE';
public const NOT_IN_COUNTERPART_LOG = 'NOT_IN_COUNTERPART_LOG';
public const NO_COUNTERPART_LOG = 'NO_COUNTERPART_LOG';
public const BUSTED_CALL = 'BUSTED_CALL';
public const BUSTED_RST = 'BUSTED_RST';
public const BUSTED_SERIAL = 'BUSTED_SERIAL';
public const BUSTED_LOCATOR = 'BUSTED_LOCATOR';
public const TIME_MISMATCH = 'TIME_MISMATCH';
public const OUT_OF_WINDOW = 'OUT_OF_WINDOW';
public static function all(): array
{
return [
self::OK,
self::DUP,
self::UNIQUE,
self::NOT_IN_COUNTERPART_LOG,
self::NO_COUNTERPART_LOG,
self::BUSTED_CALL,
self::BUSTED_RST,
self::BUSTED_SERIAL,
self::BUSTED_LOCATOR,
self::TIME_MISMATCH,
self::OUT_OF_WINDOW,
];
}
}