Implement UnknownErrorException + extend debug behaviour to fileUpload()