1# sieve_err.et -- Error codes for the Sieve subsystem 2# 3# Copyright (c) 1994-2008 Carnegie Mellon University. All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 9# 1. Redistributions of source code must retain the above copyright 10# notice, this list of conditions and the following disclaimer. 11# 12# 2. Redistributions in binary form must reproduce the above copyright 13# notice, this list of conditions and the following disclaimer in 14# the documentation and/or other materials provided with the 15# distribution. 16# 17# 3. The name "Carnegie Mellon University" must not be used to 18# endorse or promote products derived from this software without 19# prior written permission. For permission or any legal 20# details, please contact 21# Carnegie Mellon University 22# Center for Technology Transfer and Enterprise Creation 23# 4615 Forbes Avenue 24# Suite 302 25# Pittsburgh, PA 15213 26# (412) 268-7393, fax: (412) 268-7395 27# innovation@andrew.cmu.edu 28# 29# 4. Redistributions of any form whatsoever must retain the following 30# acknowledgment: 31# "This product includes software developed by Computing Services 32# at Carnegie Mellon University (http://www.cmu.edu/computing/)." 33# 34# CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO 35# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 36# AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE 37# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 38# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 39# AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 40# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 41 42error_table siev 43 44ec SIEVE_FAIL, 45 "Generic Sieve error" 46 47ec SIEVE_NOT_FINALIZED, 48 "Sieve interpreter not finalized" 49 50ec SIEVE_PARSE_ERROR, 51 "Parse error in Sieve script" 52 53ec SIEVE_RUN_ERROR, 54 "Run-time error during Sieve execution" 55 56ec SIEVE_INTERNAL_ERROR, 57 "Internal error in Sieve subsystem" 58 59ec SIEVE_NOMEM, 60 "Memory exhausted in Sieve subsystem" 61 62ec SIEVE_DONE, 63 "Sieve action already taken" 64 65ec SIEVE_SCRIPT_RELOADED, 66 "Sieve script was loaded in the past" 67 68 69# Parse errors 70 71ec SIEVE_MISSING_REQUIRE, 72 "%s extension MUST be enabled with \"require\" command" 73 74ec SIEVE_MISSING_TAG, 75 "%s tag is required" 76 77ec SIEVE_DUPLICATE_TAG, 78 "duplicate/conflicting %s tag" 79 80ec SIEVE_DUPLICATE_ARG, 81 "duplicate %s argument" 82 83ec SIEVE_INVALID_VALUE, 84 "invalid %s value" 85 86ec SIEVE_BUILD_FAILURE, 87 "unable to build %s" 88 89end 90