1 //-------------------------------------------------------------------------
3 // This file contains pre-defined error messages for df32func logic.
5 // This file is to be included in df32func.mk
7 // Copyright (c) 2006-2015, glyn@8kb.co.uk
10 //-------------------------------------------------------------------------
12 //-------------------------------------------------------------------------
14 //-------------------------------------------------------------------------
16 Define ERROR_CODE_DUPLICATE_HASH_KEY$ for 8000
17 Define ERROR_CODE_URLDECODE$
18 Define ERROR_CODE_URLENCODE$
19 Define ERROR_CODE_UNKNOWN_ALGORITHM$
20 Define ERROR_CODE_INCOMPATIBLE_ALGORITHM$
21 Define ERROR_CODE_INVALID_BLOCKSIZE$
22 Define ERROR_CODE_UNRECOGNISED_MODE$
23 Define ERROR_CODE_NO_CONTEXT$
24 Define ERROR_CODE_INVALID_ADDRESS$
25 Define ERROR_CODE_ADDRESS_TAKEN$
26 Define ERROR_CODE_UNKNOWN_FORMAT$
27 Define ERROR_CODE_INVALID_TIMESTAMP$
28 Define ERROR_CODE_INVALID_POSIX_NUMBER$
29 Define ERROR_CODE_INVALID_SYSTEM_TIMEZONE$
30 Define ERROR_CODE_COMPARISON_OPERATOR$
31 Define ERROR_CODE_INVALID_BOOLEAN$
32 Define ERROR_CODE_REGEX_BUFFER_OVERFLOW$
33 Define ERROR_CODE_REGEX_COMPILE_FAILURE$
34 Define ERROR_CODE_FILE_NOT_FOUND$
37 //-------------------------------------------------------------------------
40 // Maxsize = 40 chars Width guide |----------------------------------------|
41 //-------------------------------------------------------------------------
43 #REPLACE ERROR_MSG_DUPLICATE_HASH_KEY "Duplicate key in unique hashed column"
44 #REPLACE ERROR_MSG_URLDECODE "Urldecode failed"
45 #REPLACE ERROR_MSG_URLENCODE "Urlencode failed"
46 #REPLACE ERROR_MSG_UNKNOWN_ALGORITHM "Unknown crypt algorithm: ??"
47 #REPLACE ERROR_MSG_INOMPATIBLE_ALGORITHM "Incompatible algorithm: ??"
48 #REPLACE ERROR_MSG_INVALID_BLOCKSIZE "Invalid blocksize: ??"
49 #REPLACE ERROR_MSG_UNRECOGNISED_MODE "Unrecognised mode: ??"
50 #REPLACE ERROR_MSG_NO_CONTEXT "No crypt context exists"
51 #REPLACE ERROR_MSG_INVALID_ADDRESS "Invalid address: ??"
52 #REPLACE ERROR_MSG_ADDRESS_TAKEN "Address already taken: ??"
53 #REPLACE ERROR_MSG_UNKNOWN_FORMAT "Unknown format: ?? not HEX|BASE64|BIN"
54 #REPLACE ERROR_MSG_INVALID_TIMESTAMP "Invalid timestmap"
55 #REPLACE ERROR_MSG_INVALID_POSIX_NUMBER "Invalid posix number: ??"
56 #REPLACE ERROR_MSG_INVALID_SYSTEM_TIMEZONE "Invalid system timezone"
57 #REPLACE ERROR_MSG_INVALID_BOOLEAN "Value does not evaluate to boolean"
58 #REPLACE ERROR_MSG_COMPARISON_OPERATOR "Not a valid operator: ??"
59 #REPLACE ERROR_MSG_REGEX_BUFFER_OVERFLOW "Regex output buffer too small: ??"
60 #REPLACE ERROR_MSG_REGEX_COMPILE_FAILURE "Regex compilation failed"
61 #REPLACE ERROR_MSG_FILE_NOT_FOUND "File not found or permission denied"
63 //-------------------------------------------------------------------------
64 // Error message detail
66 // Maxsize = 32 chars Width guide |--------------------------------|
67 //-------------------------------------------------------------------------
68 #REPLACE ERROR_DETAIL_DUPLICATE_HASH_KEY "Duplicate key at index: ??"
69 #REPLACE ERROR_DETAIL_GETLASTERROR "GetLastError = ??"
70 #REPLACE ERROR_DETAIL_INVALID_TIMESTAMP "Format: ??"
71 #REPLACE ERROR_DETAIL_INVALID_BOOLEAN "Value ?? != true/false"
72 #REPLACE ERROR_DETAIL_FILE_NOT_FOUND "File: ??"