Initial commit
This commit is contained in:
35
app/Enums/QsoErrorCode.php
Normal file
35
app/Enums/QsoErrorCode.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user