Menu
← Back to all error identifiers
Error Identifiers: catch.*
There are 12 error identifiers in the catch.* group:
-
Catch block is dead code because a previous catch already handles this exception type.
-
catch.deprecatedClass phpstan-deprecation-rulesCatch block references a deprecated class.
-
catch.deprecatedEnum phpstan-deprecation-rulesCatch block references a deprecated enum.
-
catch.deprecatedInterface phpstan-deprecation-rulesCatch block references a deprecated interface.
-
catch.deprecatedTrait phpstan-deprecation-rulesCatch block references a type that uses a deprecated trait.
-
Catch block references an internal class from another package.
-
Catch block references an internal enum from another package.
-
Catch block references an internal interface from another package.
-
Catch block references an internal trait from another package.
-
Caught exception type is never thrown in the try block.
-
catch.nonCapturingNotSupported non-ignorableNon-capturing catch syntax is not supported on the configured PHP version.
-
Caught class does not implement the Throwable interface.