had a mistyped ->getcode() which already being caught inside a multiple try/catch handlers ends up throwing code 0 regardless of the actual code thrown. This is and has been part of their package for a long time and has gone unnoticed. This code 0 is then treated much like a generic 500, which is not desirable.
https://github.com/czim/file-handling/blob/4f30d25bc832e907d36127772a8d8a250659611f/src/Storage/File/StorableFileFactory.php#L173
had a mistyped ->getcode() which already being caught inside a multiple try/catch handlers ends up throwing code 0 regardless of the actual code thrown. This is and has been part of their package for a long time and has gone unnoticed. This code 0 is then treated much like a generic 500, which is not desirable.