From 59dc4bb9cb308804eb564aeab9af6896d4078b08 Mon Sep 17 00:00:00 2001 From: Netkas Date: Mon, 21 Aug 2023 18:53:48 -0400 Subject: [PATCH] Updated ExceptionCodes.php --- scratch/exceptions_plan.txt | 2 +- src/ncc/Enums/ExceptionCodes.php | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/scratch/exceptions_plan.txt b/scratch/exceptions_plan.txt index fe043b1..2b2b345 100644 --- a/scratch/exceptions_plan.txt +++ b/scratch/exceptions_plan.txt @@ -80,7 +80,7 @@ IntegrityException CONSTANT_READ_ONLY INVALID_CONSTANT_NAME COMPONENT_DECODE_EXCEPTION - RESOURCE_CHECKSUM_EXCEPTION + * RESOURCE_CHECKSUM_EXCEPTION AutoLoadException AUTOLOAD_GENERATOR \ No newline at end of file diff --git a/src/ncc/Enums/ExceptionCodes.php b/src/ncc/Enums/ExceptionCodes.php index e2535d1..30f9763 100644 --- a/src/ncc/Enums/ExceptionCodes.php +++ b/src/ncc/Enums/ExceptionCodes.php @@ -118,16 +118,6 @@ */ public const COMPONENT_DECODE_EXCEPTION = -1732; - /** - * @see ComponentChecksumException - */ - public const COMPONENT_CHECKSUM_EXCEPTION = -1733; - - /** - * @see ResourceChecksumException - */ - public const RESOURCE_CHECKSUM_EXCEPTION = -1734; - /** * @see IOException */ @@ -253,11 +243,6 @@ */ public const GIT_EXCEPTION = -1770; - /** - * @see ResourceNotFoundException - */ - public const RESOURCE_NOT_FOUND = -1771; - /** * @see ConfigurationException */ @@ -285,7 +270,6 @@ self::PACKAGE_LOCK_EXCEPTION, self::INSTALLATION_EXCEPTION, self::COMPONENT_DECODE_EXCEPTION, - self::RESOURCE_CHECKSUM_EXCEPTION, self::IO_EXCEPTION, self::VERSION_NOT_FOUND, self::UNDEFINED_EXECUTION_POLICY, @@ -310,7 +294,6 @@ self::SYMLINK_EXCEPTION, self::PATH_NOT_FOUND, self::GIT_EXCEPTION, - self::RESOURCE_NOT_FOUND, self::CONFIGURATION_EXCEPTION ]; } \ No newline at end of file