forked from Actindo/actindo-shopconnector-oxid4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.php
102 lines (92 loc) · 2.7 KB
/
error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
/**
* error constants
*
* actindo Faktura/WWS connector
*
* @package actindo
* @author Patrick Prasse <[email protected]>
* @version $Revision: 422 $
* @copyright Copyright (c) 2007, Patrick Prasse (Schneebeerenweg 26, D-85551 Kirchheim, GERMANY, [email protected])
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
/** Operation not permitted */
define( 'EPERM', 1 );
/** No such file or directory */
define( 'ENOENT', 2 );
/** I/O error */
define( 'EIO', 5 );
/** Argument list too long */
define( 'E2BIG', 7 );
/** Try again */
define( 'EAGAIN', 11 );
/** Out of memory */
define( 'ENOMEM', 12 );
/** Permission denied */
define( 'EACCESS', 13 );
/** Cross device link */
define( 'EXDEV', 18 );
/** Invalid argument */
define( 'EINVAL', 22 );
/** No space left on device */
define( 'ENOSPC', 28 );
/** Function not implemented */
define( 'ENOSYS', 38 );
/** No data available */
define( 'ENODATA', 61 );
/** Timer expired */
define( 'ETIME', 62 );
/** Package not installed */
define( 'ENOPKG', 65 );
/** Value too large for defined data type */
define( 'EOVERFLOW', 75 );
/** Too many users */
define( 'EUSERS', 87 );
/** Operation already in progress */
define( 'EALREADY', 114 );
/** Operation now in progress */
define( 'ENOWINPROGRESS', 115 );
/** Unknown error, see error message */
define( 'EUNKNOWN', 0x99 ); /* 153 */
/** XMLRPC: Login failed */
define( 'ELOGINFAILED', 0x100 ); /* 153 */
/** XMLRPC: Have no permission to access this customer */
define( 'ELOGINFAILED', 0x101 ); /* 153 */
/** XMLRPC: Not logged in */
define( 'ENOTLOGGEDIN', 0x110 ); /* 153 */
/** XMLRPC: Already logged in */
define( 'ELOGGEDIN', 0x111 ); /* 153 */
$GLOBALS['errors_de'] = array(
1 => 'Operation nicht erlaubt',
2 => 'Keine solche Datei oder Verzeichnis',
5 => 'IO / Datenbank Fehler',
7 => 'Argumenten-Liste zu lang',
11 => 'Nochmal versuchen',
12 => 'Ungenügender Speicher',
13 => 'Keine Berechtigung',
22 => 'Fehlerhaftes Argument',
28 => 'Kein Speicher mehr auf dem Geraet',
38 => 'Funktion nicht implementiert',
61 => 'Keine Daten vorhanden',
62 => 'Timer expired',
65 => 'Packet nicht installiert',
75 => 'Wert zu gross fuer Datentyp',
87 => 'Zu viele Benutzer',
114 => 'Operation wird schon bearbeitet',
115 => 'Operation wird jetzt bearbeitet',
0x100 => 'Falscher Login oder falsches Passwort',
0x101 => 'Keine Berechtigung für den Mandanten',
0x110 => 'Nicht eingeloggt',
0x111 => 'Bereits eingeloggt',
);
/**
* Return string representation of error.
*
* @param int Error number
* @returns string String representation of error, NULL if unknown error
*/
function actstrerror( $errno )
{
return $GLOBALS['errors_de'][(int)$errno];
}
?>