diff --git a/includes/exceptions.php b/includes/exceptions.php index 03844ce..5b07577 100644 --- a/includes/exceptions.php +++ b/includes/exceptions.php @@ -98,3 +98,25 @@ class ApiValidationException extends Exception { parent::__construct($message, $code, $previous); } } + +/** + * Exception thrown when a log entry is missing required data fields. + * + * @category Exception + * @package TornVaultTracker + * @author Keith Solomon + * @license Unlicense https://unlicense.org/ + * @link https://github.com/ksolomon/Torn-Vault-Tracker + */ +class LogEntryIncompleteException extends Exception { + /** + * Constructor. + * + * @param string $message The exception message. + * @param int $code The exception code. + * @param Throwable $previous The previous throwable. + */ + public function __construct($message, $code = 0, Throwable $previous = null) { + parent::__construct($message, $code, $previous); + } +}