System.ZLib._z_errmsg

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

_z_errmsg: array [0..9] of MarshaledAString = (
'need dictionary',      // Z_NEED_DICT      (2)  //do not localize
'stream end',           // Z_STREAM_END     (1)  //do not localize
'',                     // Z_OK             (0)  //do not localize
'file error',           // Z_ERRNO          (-1) //do not localize
'stream error',         // Z_STREAM_ERROR   (-2) //do not localize
'data error',           // Z_DATA_ERROR     (-3) //do not localize
'insufficient memory',  // Z_MEM_ERROR      (-4) //do not localize
'buffer error',         // Z_BUF_ERROR      (-5) //do not localize
'incompatible version', // Z_VERSION_ERROR  (-6) //do not localize
''                                               //do not localize
);

C++

extern DELPHI_PACKAGE System::StaticArray<char *, 10> _z_errmsg;

Properties

Type Visibility Source Unit Parent
const
variable
public
System.ZLib.pas
System.ZLib.hpp
System.ZLib System.ZLib

Description

_z_errmsg represents an array of possible compression and decompression exceptions.

EZCompressionError and EZDecompressionError use _z_errmsg to raise compression and decompression exceptions.

See Also