enum Zip::ErrorCode

Overview

LibZip error codes.

Defined in:

zip/error-code.cr

Enum Members

OK = 0

N No error

MULTIDISK = 1

N Multi-disk zip archives not supported

RENAME = 2

S Renaming temporary file failed

CLOSE = 3

S Closing zip archive failed

SEEK = 4

S Seek error

READ = 5

S Read error

WRITE = 6

S Write error

CRC = 7

N CRC error

ZIPCLOSED = 8

N Containing zip archive was closed

NOENT = 9

N No such file

EXISTS = 10

N File already exists

OPEN = 11

S Can't open file

TMPOPEN = 12

S Failure to create temporary file

ZLIB = 13

Z Zlib error

MEMORY = 14

N Malloc failure

CHANGED = 15

N Entry has been changed

COMPNOTSUPP = 16

N Compression method not supported

EOF = 17

N Premature EOF

INVAL = 18

N Invalid argument

NOZIP = 19

N Not a zip archive

INTERNAL = 20

N Internal error

INCONS = 21

N Zip archive inconsistent

REMOVE = 22

S Can't remove file

DELETED = 23

N Entry has been deleted

ENCRNOTSUPP = 24

N Encryption method not supported

RDONLY = 25

N Read-only archive

NOPASSWD = 26

N No password provided

WRONGPASSWD = 27

N Wrong password provided

Instance Method Summary

Instance Method Detail

def changed? #

[View source]
def close? #

[View source]
def compnotsupp? #

[View source]
def crc? #

[View source]
def deleted? #

[View source]
def encrnotsupp? #

[View source]
def eof? #

[View source]
def exists? #

[View source]
def incons? #

[View source]
def internal? #

[View source]
def inval? #

[View source]
def memory? #

[View source]
def message #

[View source]
def multidisk? #

[View source]
def noent? #

[View source]
def nopasswd? #

[View source]
def nozip? #

[View source]
def ok? #

[View source]
def open? #

[View source]
def rdonly? #

[View source]
def read? #

[View source]
def remove? #

[View source]
def rename? #

[View source]
def seek? #

[View source]
def tmpopen? #

[View source]
def write? #

[View source]
def wrongpasswd? #

[View source]
def zipclosed? #

[View source]
def zlib? #

[View source]