Function __global->zip_error

Definitions

sources/failure.php

  • Terminate with an error caused by unzipping.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$filename PATH No No required parameter N/A N/A The file we attempted to load
$errno integer No No required parameter N/A N/A The ZIP error number

Returns

  • Error message
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Terminate with an error caused by unzipping.
 *
 * @param  PATH $filename The file we attempted to load
 * @param  integer $errno The ZIP error number
 * @return Tempcode Error message
 */

function zip_error(string $filename, int $errno) : object